]> git.pld-linux.org Git - packages/mpg123.git/commitdiff
- adapterized and made spec %%debug ready or added using %%rpm*flags macros
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 2 May 2001 21:51:24 +0000 (21:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mpg123.spec -> 1.21

mpg123.spec

index a622969e9777debe0812c0b7c377154b21b35ab1..6663b40e1e548d29bada36e5ae2b0f03cbecd7cd 100644 (file)
@@ -4,11 +4,12 @@ Name:         mpg123
 Version:       0.59r
 Release:       3
 Group:         Applications/Sound
+Group(de):     Applikationen/Laut
 Group(pl):     Aplikacje/D¼wiêk
 Copyright:     Freely distributable for non-commercial use
 Source0:       http://www.mpg123.de/mpg123/%{name}-%{version}.tar.gz
-Patch0:                ftp://ftp.kame.net/pub/kame/misc/mpg123-059r-v6-20000111.diff.gz
-Patch1:                mpg123-makefile.patch
+Patch0:                ftp://ftp.kame.net/pub/kame/misc/%{name}-059r-v6-20000111.diff.gz
+Patch1:                %{name}-makefile.patch
 URL:           http://www.mpg123.de/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -35,20 +36,19 @@ mo
 
 %build
 %ifarch i386 i586 i686
-%{__make} OPT_FLAGS="$RPM_OPT_FLAGS -DINET6" linux 
+%{__make} OPT_FLAGS="%{rpmcflags} -DINET6" linux 
 %else
-%{__make} OPT_FLAGS="$RPM_OPT_FLAGS -DINET6" linux-%{_target_cpu}
+%{__make} OPT_FLAGS="%{rpmcflags} -DINET6" linux-%{_target_cpu}
 %endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
 
-install -s %{name} $RPM_BUILD_ROOT%{_bindir}
+install %{name} $RPM_BUILD_ROOT%{_bindir}
 install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
-       BUGS COPYING CHANGES JUKEBOX README
+gzip -9nf BUGS COPYING CHANGES JUKEBOX README
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.122109 seconds and 4 git commands to generate.