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

cdtool.spec

index 63b0b1a8cd014da7f92be77da79553342233dde6..85a953f9b2930a768ba82f01a42bfec9a55314ef 100644 (file)
@@ -4,8 +4,9 @@ Name:           cdtool
 Version:       2.1.5
 Release:       1
 License:       GPL
-Group:         Utilities/System
-Group(pl):     Narzêdzia/System
+Group:         Applications/System
+Group(de):     Applikationen/System
+Group(pl):     Aplikacje/System
 Source0:       ftp://sunsite.unc.edu/pub/Linux/apps/sound/cdrom/cli/%{name}-%{version}.tar.gz
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -24,10 +25,10 @@ CDDB.
 %setup -q
 
 %build
-%{__make} clean noobjs cdown cdadd DEBUG_FLAGS="$RPM_OPT_FLAGS"
-%{__make} cdctrl DEBUG_FLAGS="$RPM_OPT_FLAGS -s -DCDCTRL"
+%{__make} clean noobjs cdown cdadd DEBUG_FLAGS="%{rpmcflags}"
+%{__make} cdctrl DEBUG_FLAGS="%{rpmcflags} %{rpmldflags} -DCDCTRL"
 %{__make} noobjs
-%{__make} cdtool DEBUG_FLAGS="$RPM_OPT_FLAGS -s"
+%{__make} cdtool DEBUG_FLAGS="%{rpmcflags} %{rpmldflags}"
 %{__make} links
 
 %install
@@ -47,12 +48,13 @@ echo .so cdtool.1 >$RPM_BUILD_ROOT%{_mandir}/man1/cdinfo.1
 echo .so cdtool.1 >$RPM_BUILD_ROOT%{_mandir}/man1/cdreset.1
 echo .so cdtool.1 >$RPM_BUILD_ROOT%{_mandir}/man1/cdshuffle.1
 
-gzip -9nf {README,cdtool-2.1.5.lsm,$RPM_BUILD_ROOT%{_mandir}/man1/*}
+gzip -9nf README
 
 %clean
 rm -rf $RPM_BUILD_ROOT
+
 %files
 %defattr(644,root,root,755)
-%doc {README,cdtool-2.1.5.lsm}.gz
+%doc README.gz
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
This page took 0.073517 seconds and 4 git commands to generate.