]> git.pld-linux.org Git - packages/WMRack.git/blobdiff - WMRack.spec
- changed all BuildRoot definitons
[packages/WMRack.git] / WMRack.spec
index f7aae905eca99ffe9b7eff216ab9857454d87a5e..13fc486a551cc5d2ffcbd0caf05a71d16fc460f2 100644 (file)
@@ -7,9 +7,12 @@ Copyright:     GPL
 Vendor:                FGA bitart Furch & Graf GbR
 Group:         X11/Window Managers/Tools
 Group(pl):     X11/Zarz±dcy Okien/Narzêdzia
-Source:                WMRack-%{version}.tar.bz2
-Icon:          wmrack.gif
-BuildRoot:     /tmp/%{name}-%{version}-root
+Source:                WMRack_%{version}.tar.bz2
+#Icon:         wmrack.gif
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define        _prefix /usr/X11R6
+%define        _mandir %{_prefix}/man
 
 %description
 This is the second and hopefully last beta release of WMRack. It
@@ -27,35 +30,26 @@ still work but need an extra (middle) button.
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
-       --prefix=/usr/X11R6
+./configure %{_target_platform} \
+       --prefix=%{_prefix} \
+       --mandir=%{_mandir}
 make
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make prefix=$RPM_BUILD_ROOT/usr/X11R6 install
+make install prefix=$RPM_BUILD_ROOT%{_prefix} \
+       MANDIR=$RPM_BUILD_ROOT%{_mandir}
+
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
+gzip -9nf README TODO WARRANTY
+
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc LICENSE README TODO WARRANTY
-/usr/X11R6/GNUstep/Library/WMRack
-
-%attr(755,root,root) /usr/X11R6/bin/*
-%attr(644,root, man) /usr/X11R6/man/man1/*
-
-%changelog
-* Sun Nov  1 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [1.0b5-3]
-- added -q %setup parameter,
-- changed Buildroot to /tmp/%%{name}-%%{version}-root,
-- added using %%{name} and %%{version} in Source,
-- changed instal prefix to /usr/X11R6
-- added LDFLAGS="-s" to ./configure enviroment,
-- changed Group to X11/Window Managers/Tools,
-- added Group(pl) and Summary(pl),
-- added %attr and %defattr macros in %files (allow build package from
-  non-root account).
-
-* Thu Aug  6 1998 Oliver Graf <ograf@fga.de>
-- started changelog
-- added defines for version and release
+%doc README.gz TODO.gz WARRANTY.gz
+%{_prefix}/GNUstep/Library/WMRack
+
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
This page took 0.245054 seconds and 4 git commands to generate.