]> git.pld-linux.org Git - packages/eject.git/commitdiff
- release 7: use rpm automation and adapterize spec. eject-2_0_2-7
authorkloczek <kloczek@pld-linux.org>
Sun, 4 Feb 2001 10:25:56 +0000 (10:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eject.spec -> 1.15

eject.spec

index 2afe19fe7b3702f5701be696ee8f6ad8f5c8dd7b..fb5fac2d0239ae88c20a555d68df0cfc92b96881 100644 (file)
@@ -5,10 +5,11 @@ Summary(pl):  Eject otwieranie szuflad CDROM, Jaz, ZIP i innych
 Summary(tr):   Eject yeteneði olan aygýtlarý kontrol eder
 Name:          eject
 Version:       2.0.2
-Release:       4
+Release:       7
 License:       GPL
-Group:         Utilities/System
-Group(pl):     Narzêdzia/System
+Group:         Applications/System
+Group(de):     Applikationen/System
+Group(pl):     Aplikacje/System
 Source0:       http://metalab.unc.edu/pub/Linux/utils/disk-management/%{name}-%{version}.tar.gz
 URL:           http://www.pobox.com/~tranter/eject.html
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -40,23 +41,22 @@ CD-ROM'lar, Zip s
 %setup -q
 
 %build
-%{__make} CFLAGS="-Wall $RPM_OPT_FLAGS"
+%{__make} CFLAGS="-Wall %{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
 
-install -s eject $RPM_BUILD_ROOT%{_bindir}/eject
+install eject $RPM_BUILD_ROOT%{_bindir}/eject
 install eject.1 $RPM_BUILD_ROOT%{_mandir}/man1/eject.1
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
-       README ChangeLog
+gzip -9nf README ChangeLog
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc *.gz
-
 %attr(755,root,root) %{_bindir}/eject
 %{_mandir}/man1/*
This page took 0.038137 seconds and 4 git commands to generate.