]> git.pld-linux.org Git - packages/WMRack.git/blobdiff - WMRack.spec
- tabs in preamble
[packages/WMRack.git] / WMRack.spec
index da2e585370eb373e6c870ace93d2d50fd5836dcb..d6a3b19e111d7bcc25f448d0665b1adfcf423bbb 100644 (file)
@@ -1,23 +1,24 @@
 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:       3
+Release:       5
 License:       GPL
-Vendor:                FGA bitart Furch & Graf GbR
 Group:         X11/Window Managers/Tools
-Group(pl):     X11/Zarz±dcy Okien/Narzêdzia
-Source0:       WMRack-%{version}.tar.gz
+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
+%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...)
@@ -25,31 +26,37 @@ 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.
 
+%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 %{_target_platform} \
-       --prefix=%{_prefix} \
-       --mandir=%{_mandir}
-make
+%{__aclocal}
+%{__autoconf}
+%configure
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install prefix=$RPM_BUILD_ROOT%{_prefix} \
-       MANDIR=$RPM_BUILD_ROOT%{_mandir}
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
-gzip -9nf README TODO WARRANTY
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.gz TODO.gz WARRANTY.gz
-%{_prefix}/GNUstep/Library/WMRack
-
+%doc README TODO WARRANTY
 %attr(755,root,root) %{_bindir}/*
+#%%{_prefix}/GNUstep/Library/WMRack
+%{_libdir}/WMRack
 %{_mandir}/man1/*
This page took 0.035219 seconds and 4 git commands to generate.