From 93c4e788b19ef4b2b9bc9aad6080e113269f3c78 Mon Sep 17 00:00:00 2001 From: kloczek Date: Tue, 1 Jun 1999 14:38:53 +0000 Subject: [PATCH] - more rpm macros, - gzipping %doc, -cosmetic changes for common l&f. Changed files: cproto.spec -> 1.10 --- cproto.spec | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/cproto.spec b/cproto.spec index 80e1144..41c2e59 100644 --- a/cproto.spec +++ b/cproto.spec @@ -1,17 +1,17 @@ -Summary: C Prototype Utility -Summary(de): C-Prototyp-Dienstprogramm -Summary(fr): Utilitaire de prototypage C. -Summary(pl): Narzêdzia dla prototypów C -Summary(tr): C prototip aracý -Name: cproto -Version: 4.4 -Release: 9 -Copyright: Public Domain -Group: Development/Tools -Group(pl): Programowanie/Narzêdzia -Source: ftp://ftp.oce.com/pub/cproto/cproto-4.4.tar.Z -Patch0: cproto-gcc.patch -BuildRoot: /tmp/%{name}-%{version}-root +Summary: C Prototype Utility +Summary(de): C-Prototyp-Dienstprogramm +Summary(fr): Utilitaire de prototypage C. +Summary(pl): Narzêdzia dla prototypów C +Summary(tr): C prototip aracý +Name: cproto +Version: 4.4 +Release: 9 +Copyright: Public Domain +Group: Development/Tools +Group(pl): Programowanie/Narzêdzia +Source: ftp://ftp.oce.com/pub/cproto/cproto-4.4.tar.Z +Patch0: cproto-gcc.patch +Buildroot: /tmp/%{name}-%{version}-root %description Cproto generates function prototypes for functions defined in the specified @@ -55,26 +55,27 @@ cproto girdi olarak standart giri autoconf CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \ ./configure %{_target} \ - --prefix=/usr \ - --exec-prefix=/usr + --prefix=%{_prefix} \ + --exec-prefix=%{_prefix} make %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/usr/{bin,man/man1} +install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} make install \ bindir=$RPM_BUILD_ROOT%{_bindir} \ mandir=$RPM_BUILD_ROOT%{_mandir}/man1 -gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* +gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \ + README MANIFEST CHANGES %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc README MANIFEST CHANGES +%doc *.gz %attr(755,root,root) %{_bindir}/cproto %{_mandir}/man1/* -- 2.43.0