]> git.pld-linux.org Git - packages/cflow.git/commitdiff
- pl description, cleanups, Log
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 14 Nov 2002 23:35:08 +0000 (23:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cflow.spec -> 1.2

cflow.spec

index 89a9b00a7e81dbdb2c9c0a96e7055561b7ed0381..7cff09543d380b62c7e8535b0df4a6add759dadb 100644 (file)
@@ -1,63 +1,52 @@
-Name: cflow
-Version: 2.0
-Release: 2cl
-Summary: Show C language call structure
-Summary(pt_BR): Mostra a estrutura de chamadas de funções em fontes de linguagem C
-Summary(es): Show C language call structure
-License: Public Domain
-Group: Development
-Group(pt_BR): Desenvolvimento
-Group(es): Desarrollo
-Source0: http://www.ibiblio.org/pub/Linux/devel/lang/c/%{name}-%{version}.tar.gz
-Source1: %{name}.conf
-Patch: %{name}-%{version}-config.patch
-Requires: gcc, mktemp
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Summary:       Show C language call structure
+Summary(pl):   Pokazywanie struktury wywo³añ C
+Summary(pt_BR):        Mostra a estrutura de chamadas de funções em fontes de linguagem C
+Name:          cflow
+Version:       2.0
+Release:       3
+License:       Public Domain
+Group:         Development/Tools
+Source0:       http://www.ibiblio.org/pub/Linux/devel/lang/c/%{name}-%{version}.tar.gz
+Source1:       %{name}.conf
+Patch0:                %{name}-%{version}-config.patch
+Requires:      gcc
+Requires:      mktemp
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Show C language call structure
+Show C language call structure.
+
+%description -l pl
+Pokazywanie struktury wywo³añ C.
 
 %description -l pt_BR
 Mostra a estrutura de chamadas de funções em fontes de linguagem C
 
-%description -l es
-Show C language call structure
-
 %prep
 %setup -q
 %patch -p1
 
 %build
-make PRCC_LOC=%{_bindir}/prcc PRCG_LOC=%{_bindir}/prcg
+%{__make} PRCC_LOC=%{_bindir}/prcc PRCG_LOC=%{_bindir}/prcg
 
 %install
-mkdir -p %{buildroot}/{%{_bindir},%{_sysconfdir},%{_mandir}/man1}
-make PREFIX=%{buildroot}/%{_prefix} install
-cp %{name}.1 %{buildroot}/%{_mandir}/man1
-cp %{_sourcedir}/%{name}.conf %{buildroot}/%{_sysconfdir}
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir}/man1}
+
+%{__make} install \
+       PREFIX=$RPM_BUILD_ROOT%{_prefix}
+
+install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
+install %{_sourcedir}/%{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}
 
 %clean
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(0644,root,root,0755)
+%defattr(644,root,root,755)
 %doc INSTALL README TODO %{name}.lsm examples
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/%{name}.conf
+%attr(755,root,root) %{_bindir}/%{name}
+%attr(755,root,root) %{_bindir}/prcc
+%attr(755,root,root) %{_bindir}/prcg
 %{_mandir}/man1/%{name}*
-%config(noreplace) %{_sysconfdir}/%{name}.conf
-%defattr(0755,root,root)
-%{_bindir}/%{name}
-%{_bindir}/prcc
-%{_bindir}/prcg
-
-%changelog
-* Tue Aug 28 2001 Claudio Matsuoka <claudio@conectiva.com>
-+ cflow-2.0-2cl
-- fixed source url
-- fixed three (!) typos in a single line of the supplied config file ;)
-- changed YACC setting in the supplied config file to "yacc"
-- set config file to noreplace for policy compliance
-- a plain rebuild seemed to fix the broken prcc of 2.0-1cl
-
-* Thu Nov  2 2000 Arnaldo Carvalho de Melo <acme@conectiva.com>
-+ cflow-2.0-1cl
-- initial packaging for Conectiva Linux
This page took 0.084466 seconds and 4 git commands to generate.