specfile cleanup

This commit is contained in:
Zoltan Kota 2005-08-26 07:05:00 +00:00
parent 4131346f43
commit 0b16df5865

View File

@ -1,15 +1,15 @@
Summary: Conversion between character sets and surfaces. Summary: Conversion between character sets and surfaces
Name: recode Name: recode
Version: 3.6 Version: 3.6
Release: 17 Release: 18%{?dist}
License: GPL License: GPL
Group: Applications/File Group: Applications/File
Source: ftp://ftp.iro.umontreal.ca/pub/recode/recode-%{version}.tar.gz Source: http://recode.progiciels-bpi.ca/archives/recode-%{version}.tar.gz
Patch: recode.patch Patch0: recode.patch
Patch1: recode-3.6-getcwd.patch Patch1: recode-3.6-getcwd.patch
Url: http://www.iro.umontreal.ca/contrib/recode/HTML/ Url: http://recode.progiciels-bpi.ca/
Prereq: /sbin/install-info /sbin/ldconfig Requires: /sbin/install-info /sbin/ldconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description %description
The `recode' converts files between character sets and usages. The `recode' converts files between character sets and usages.
@ -20,7 +20,7 @@ characters or fall back on approximations. Most RFC 1345 character sets
are supported. are supported.
%package devel %package devel
Summary: Header files and static libraries for development using recode. Summary: Header files and static libraries for development using recode
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version} Requires: %{name} = %{version}
@ -34,12 +34,12 @@ are supported.
%prep %prep
%setup -q %setup -q
%patch -p1 %patch0 -p1
%patch1 -p1 -b .getcwd %patch1 -p1 -b .getcwd
%build %build
%configure %configure
make make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -47,8 +47,6 @@ rm -rf $RPM_BUILD_ROOT
%makeinstall %makeinstall
%find_lang %{name} %find_lang %{name}
gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/recode.info*
# remove unpackaged file from the buildroot # remove unpackaged file from the buildroot
rm -f $RPM_BUILD_ROOT%{_infodir}/dir rm -f $RPM_BUILD_ROOT%{_infodir}/dir
@ -83,6 +81,10 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/* %{_includedir}/*
%changelog %changelog
* Fri Aug 26 2005 Zoltan Kota <z.kota[AT]gmx.net> 3.6-18
- add dist tag
- specfile cleanup
* Thu May 26 2005 Bill Nottingham <notting@redhat.com> 3.6-17 * Thu May 26 2005 Bill Nottingham <notting@redhat.com> 3.6-17
- rebuild for Extras - rebuild for Extras