X-Git-Url: http://git.pld-linux.org/?p=packages%2FAnotherLevel.git;a=blobdiff_plain;f=AnotherLevel.spec;h=4e5ec80a0dcfbea2c6ab9ee8918ef2bddf16689d;hp=6fe68e1149a57f0cb56154f55fce4f0505796dc7;hb=HEAD;hpb=9a22e32ea55444e0f501c13aa0291f0b5430da37 diff --git a/AnotherLevel.spec b/AnotherLevel.spec index 6fe68e1..4e5ec80 100644 --- a/AnotherLevel.spec +++ b/AnotherLevel.spec @@ -1,43 +1,56 @@ -Summary: A customized configuration of the fvwm2 window manager. +Summary: A customized configuration of the fvwm2 window manager +Summary(pl.UTF-8): Użyteczna konfiguracja zarządcy okien fvwm2 Name: AnotherLevel Version: 0.9 -Release: 1 -Copyright: distributable -Group: User Interface/Desktops -Source: AnotherLevel-0.9.tar.gz -Requires: m4, fvwm2, fvwm2-icons, wmconfig > 0.3, redhat-logos -BuildRoot: /tmp/%{name}-%{version}-root +Release: 3 +License: distributable +Group: X11/Window Managers +Source0: %{name}-%{version}.tar.gz +# Source0-md5: ddeb447d0bf8aeca5bb1cf30878b4d55 +BuildRequires: sed >= 4.0 +Requires: fvwm2 +Requires: fvwm2-icons +Requires: m4 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Obsoletes: TheNextLevel -BuildArchitectures: noarch +BuildArch: noarch -%description -AnotherLevel is a custom configuration of the popular fvwm2 -window manager. Fvwm stands for (?) virtual window manager. -You can fill in the blank for the 'f': fast, flexible, -friendly and fabulous all could apply. This window manager -is based on TheNextLevel desktop configuration, created -by Greg J. Badros, which won the 1996 Red Hat Desktop -Contest. +%description +AnotherLevel is a custom configuration of the popular fvwm2 window +manager. Fvwm stands for (?) virtual window manager. You can fill in +the blank for the 'f': fast, flexible, friendly and fabulous all could +apply. This window manager is based on TheNextLevel desktop +configuration, created by Greg J. Badros, which won the 1996 Red Hat +Desktop Contest. -AnotherLevel is designed to be easily configured by the -user. +AnotherLevel is designed to be easily configured by the user. + +%description -l pl.UTF-8 +AnotherLevel jest użyteczną konfiguracją popularnego zarządcy okien, +jakim jest fvwm2. Fvwm oznacza (?) wirtualnego zarządcę okien. Zamiast +znaku zapytania można dopisać: szybki, elastyczny, przyjazny i +fantastyczny - wszystko to pasowałoby do niego. Ten zarządca okien +bazuje na konfiguracji pulpitu w stylu TheNextLevel stworzonej przez +Grega J. Bradosa, która wygrała Red Hat Desktop Contest w 1996 roku. %prep %setup -c -q -%build -echo "No build necessary" - %install rm -rf $RPM_BUILD_ROOT -TOPDIR=$RPM_BUILD_ROOT make install -install -d $RPM_BUILD_ROOT/etc/X11/TheNextLevel -ln -sf ../AnotherLevel/fvwm2rc.m4 \ - $RPM_BUILD_ROOT/etc/X11/TheNextLevel/.fvwm2rc.m4 -install -d $RPM_BUILD_ROOT/etc/X11/gdm/Sessions -install AnotherLevel.session \ - $RPM_BUILD_ROOT/etc/X11/gdm/Sessions/AnotherLevel +# We need 'pixmaps/mini' path, do not need 'pixmaps/redhat' one +sed -i 's/redhat/mini/' scripts/fvwm2rc.defines.m4 + +%{__make} install \ + TOPDIR=$RPM_BUILD_ROOT \ + ICONDIR=%{_pixmapsdir} \ + MANDIR=%{_mandir}/man1 \ + BINDIR=%{_bindir} + +install -d $RPM_BUILD_ROOT%{_sysconfdir}/X11/TheNextLevel +ln -sf ../AnotherLevel/fvwm2rc.m4 \ + $RPM_BUILD_ROOT%{_sysconfdir}/X11/TheNextLevel/.fvwm2rc.m4 %clean rm -rf $RPM_BUILD_ROOT @@ -45,11 +58,10 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc Sample.Xmodmap -%dir /etc/X11/AnotherLevel -%config /etc/X11/AnotherLevel/* -/etc/X11/TheNextLevel -%attr(755,root,root) /etc/X11/gdm/Sessions/AnotherLevel -/usr/share/icons/*.xpm -/usr/share/icons/mini/*.xpm -/usr/man/*/* -/usr/X11R6/bin/* +%dir %{_sysconfdir}/X11/AnotherLevel +%config %{_sysconfdir}/X11/AnotherLevel/* +%attr(755,root,root) %{_bindir}/* +%{_sysconfdir}/X11/TheNextLevel +%{_pixmapsdir}/*.xpm +%{_pixmapsdir}/mini/*.xpm +%{_mandir}/man1/*