]> git.pld-linux.org Git - packages/WMRack.git/blobdiff - WMRack.spec
- tabs in preamble
[packages/WMRack.git] / WMRack.spec
index be200934136d318b672e1372ebf1f60be572c2be..d6a3b19e111d7bcc25f448d0665b1adfcf423bbb 100644 (file)
@@ -1,61 +1,62 @@
 Summary:       A WindowMaker Dock CD+Sound Applet
-Summary(pl):   Dock CD+Sound aplet do WindowMakera
+Summary(pl.UTF-8):     Dokowalny aplet CD+Sound do WindowMakera
 Name:          WMRack
 Version:       1.0b5
-Release:       1d
-Copyright:     GPL
-Vendor:                FGA bitart Furch & Graf GbR
+Release:       5
+License:       GPL
 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
+Source0:       http://dl.sourceforge.net/wmrack/%{name}-%{version}.tar.gz
+# Source0-md5: 0832e522a3641d74698c98e47d981de7
+Patch0:                %{name}-DESTDIR.patch
+#Icon:         wmrack.gif
+URL:           http://wmrack.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
+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
-features cdrom and mixer functions. Please repeat any bugs. Compiled
-with extra verbose output.
+It features cdrom and mixer functions.
 
-Read the manpage for a description of the supported functions and
-how to install the applet to your button bar (Wharf, Dock, etc...)
+Read the manpage for a description of the supported functions and how
+to install the applet to your button bar (Wharf, Dock, etc...)
 
-Sorry, styles not updated. Wait for the non-beta. Old styles
-still work but need an extra (middle) button.
+Sorry, styles not updated. Wait for the non-beta. Old styles still
+work but need an extra (middle) button.
+
+%description -l pl.UTF-8
+WMRack zawiera funkcje miksera i odtwarzacza cdrom.
+
+Przeczytaj stronę manuala, jeżeli szukasz opisu obsługiwanych funkcji
+oraz jak zainstalować aplet na swoim pasku przycisków (Wharf, Dock,
+itp).
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
-       --prefix=/usr/X11R6
-make
+%{__aclocal}
+%{__autoconf}
+%configure
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make prefix=$RPM_BUILD_ROOT/usr/X11R6 install
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%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 TODO WARRANTY
+%attr(755,root,root) %{_bindir}/*
+#%%{_prefix}/GNUstep/Library/WMRack
+%{_libdir}/WMRack
+%{_mandir}/man1/*
This page took 0.050552 seconds and 4 git commands to generate.