Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 91b54eb3b94efa1b611ccf9881a332a7 > files > 3

musca-0.9.24-3.fc16.src.rpm

Name:           musca
Version:        0.9.24
Release:        3%{?dist}
Summary:        A simple dynamic window manager fox X

Group:          User Interface/Desktops
License:        GPLv3
URL:            http://aerosuidae.net/musca.html
Source0:        http://aerosuidae.net/%{name}-%{version}.tgz
Patch0:         dmenu_run.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  coreutils, sed, libX11-devel
Requires:       dmenu, xterm

%description
musca is a simple dynamic window manager for X, with features nicked
from ratpoison and dwm. Musca operates as a tiling window manager by default. 
It uses manual tiling, which means the user determines how the screen is 
divided into non-overlapping frames, with no restrictions on layout.

%prep
%setup -q

%patch0 -p0

%build
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 musca $RPM_BUILD_ROOT%{_bindir}

mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
install -p -m 0644 musca.1 $RPM_BUILD_ROOT%{_mandir}/man1

# Create desktop file
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/xsessions/
cat << EOF > $RPM_BUILD_ROOT/%{_datadir}/xsessions/musca.desktop
[Desktop Entry]
Name=Musca
Comment=A tiling manager for X
Exec=musca
TryExec=musca
Type=XSession
EOF

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc gpl.txt
%{_bindir}/musca
%{_datadir}/xsessions/musca.desktop
%{_mandir}/man1/musca.1.gz


%changelog
* Wed Apr 25 2012 Damien Durand <splinux25@gmail.com> - 0.9.24-3
- dmenu_run in config file instead of dmenu.

* Sun Feb 19 2012 Damien Durand <splinux25@gmail.com> - 0.9.24-2
- Add a proper description.
- We preserve timestamp with the install command.
- Add coreutils and sed in BuildRequires.

* Thu Jan 18 2012 Damien Durand <splinux25@gmail.com> - 0.9.24-1
- Initial release.