SHA256
1
0
forked from pool/cflow

clean up specfile

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cflow?expand=0&rev=3
This commit is contained in:
Petr Uzel 2011-04-11 11:25:27 +00:00 committed by Git OBS Bridge
parent 47262943d1
commit 48588758f5
2 changed files with 12 additions and 13 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 11 11:22:43 UTC 2011 - puzel@novell.com
- use spec-cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jul 12 11:36:39 CEST 2009 - puzel@novell.com Sun Jul 12 11:36:39 CEST 2009 - puzel@novell.com

View File

@ -15,21 +15,19 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: cflow Name: cflow
License: GLP v3
Group: Development/Tools/Other
AutoReqProv: on
Url: http://www.gnu.org/software/cflow
Version: 1.3 Version: 1.3
Release: 1 Release: 1
License: GLP v3
Summary: Tool to generate flowcharts for C sources Summary: Tool to generate flowcharts for C sources
Url: http://www.gnu.org/software/cflow
Group: Development/Tools/Other
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Patch1: cflow-fix-yyparse-return-type.patch Patch1: cflow-fix-yyparse-return-type.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %install_info_prereq PreReq: %install_info_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
GNU cflow analyzes a collection of C source files and prints a graph, charting GNU cflow analyzes a collection of C source files and prints a graph, charting
@ -38,10 +36,6 @@ inverted flowgraphs for C sources. Optionally a cross-reference listing can be
generated. Two output formats are implemented: POSIX and GNU (extended). Input generated. Two output formats are implemented: POSIX and GNU (extended). Input
files can optionally be preprocessed before analyzing. files can optionally be preprocessed before analyzing.
Authors:
--------
Sergey Poznyakoff <gray@gnu.org>
%prep %prep
%setup -q %setup -q
%patch1 -p1 %patch1 -p1
@ -54,11 +48,11 @@ make
make check make check
%install %install
%makeinstall %make_install
%find_lang %{name} %find_lang %{name}
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf %{buildroot}
%post %post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
@ -69,7 +63,7 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%doc %{_infodir}/*.info* %doc %{_infodir}/*.info*
%doc NEWS README COPYING AUTHORS %doc NEWS README COPYING AUTHORS
%{_bindir}/%{name} %{_bindir}/%{name}
%changelog %changelog