]> git.pld-linux.org Git - packages/sed.git/commitdiff
macros in use
authorwojtek <wojtek@pld.org.pl>
Sat, 5 Jun 1999 12:10:59 +0000 (12:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sed.spec -> 1.12

sed.spec

index d73bdf8f47a0f2017d66dc8b3fa9cc2dca954b08..10261196d5f0ab663f0f2985ffb5e8b4af0c5550 100644 (file)
--- a/sed.spec
+++ b/sed.spec
@@ -5,7 +5,7 @@ Summary(pl):    Edytor strumienowy GNU
 Summary(tr):   GNU dosya iþleme aracý
 Name:          sed
 Version:       3.02
-Release:       6
+Release:       7
 Copyright:     GPL
 Group:         Utilities/Text
 Group(pl):     Narzêdzia/Tekst
@@ -42,21 +42,21 @@ yazmakta kullan
 %patch1 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure %{_target_platform} \
-       --prefix=/usr \
-       --exec-prefix=/
+autoconf && %configure
+
 make
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/bin
 
-make prefix=$RPM_BUILD_ROOT/usr exec_prefix=$RPM_BUILD_ROOT/ install
-
-strip $RPM_BUILD_ROOT/bin/*
+make \
+    bindir=$RPM_BUILD_ROOT/bin \
+    mandir=$RPM_BUILD_ROOT%{_mandir} \
+    infodir=$RPM_BUILD_ROOT%{_infodir} \
+    install install-strip
 
-gzip -9nf $RPM_BUILD_ROOT/usr/{info/*info*,man/man1/*} \
+gzip -9nf $RPM_BUILD_ROOT%{_datadir}/{info/*info*,man/man1/*} \
        ANNOUNCE AUTHORS BUGS ChangeLog NEWS README THANKS TODO dc.sed \
        testsuite/*
 
@@ -74,7 +74,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root)
 %doc *.gz
-%attr(755,root,root) /bin/sed 
+%attr(755,root,root) /bin/*
 %{_mandir}/man1/*
 %{_infodir}/sed.info*
 
@@ -109,22 +109,3 @@ rm -rf $RPM_BUILD_ROOT
 * Tue Sep 29 1998 Marcin Korzonek <mkorz@shadow.eu.org>
 - added pl translation,
 - added using %%{name} and %%{version} in Source.
-
-* Tue Aug 18 1998 Jeff Johnson <jbj@redhat.com>
-- update to 3.02
-
-* Sun Jul 26 1998 Jeff Johnson <jbj@redhat.com>
-- update to 3.01
-
-* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
-- translations modified for de, fr, tr
-
-* Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
-- removed references to the -g option from the man page that we add
-
-* Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
-- spec file cleanups
-- added BuildRoot
-
-* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
-- built against glibc
This page took 0.137325 seconds and 4 git commands to generate.