rpms/sharutils/devel sharutils.spec,1.29,1.30

Tom Callaway spot at fedoraproject.org
Thu Sep 4 18:55:29 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/sharutils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9791

Modified Files:
	sharutils.spec 
Log Message:
fix license tag, update to 4.7, cleanup spec


Index: sharutils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sharutils/devel/sharutils.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- sharutils.spec	19 Feb 2008 10:09:40 -0000	1.29
+++ sharutils.spec	4 Sep 2008 18:54:59 -0000	1.30
@@ -1,14 +1,15 @@
-Summary: The GNU shar utilities for packaging and unpackaging shell archives.
+Summary: The GNU shar utilities for packaging and unpackaging shell archives
 Name: sharutils
-Version: 4.6.3
-Release: 2%{?dist}
-License: GPL
+Version: 4.7
+Release: 1%{?dist}
+License: GPLv3+
 Group: Applications/Archiving
 Source: ftp://ftp.gnu.org/gnu/sharutils/REL-%{version}/sharutils-%{version}.tar.bz2
 URL: http://www.gnu.org/software/sharutils/
 BuildRequires: gettext
-Prereq: /sbin/install-info
-Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
+Requires(pre): info
+Requires(preun): info
+Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
 The sharutils package contains the GNU shar utilities, a set of tools
@@ -23,44 +24,55 @@
 strips off mail headers and introductory text and then unpacks the
 shar files.
 
-Install sharutils if you send binary files through e-mail.
-
 %prep
 %setup -q
 
+# convert TODO, THANKS to UTF-8
+for i in TODO THANKS; do
+  iconv -f iso-8859-1 -t utf-8 -o $i{.utf8,}
+  mv $i{.utf8,}
+done
+
 %build
 %configure
-make
+make %{?_smp_mflags}
 
 %install
 rm -rf ${RPM_BUILD_ROOT}
-
-%makeinstall
+make DESTDIR=${RPM_BUILD_ROOT} INSTALL='install -p' install
 rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
-mkdir -p ${RPM_BUILD_ROOT}%{_docdir}-%{name}-%{version}
 chmod 644 AUTHORS ChangeLog COPYING NEWS README THANKS TODO
 
+%check
+make check
+
 %find_lang %{name}
 
 %post
-/sbin/install-info %{_infodir}/sharutils.info.gz %{_infodir}/dir ||:
+/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir ||:
 
 %preun
 if [ $1 = 0 ]; then
-    /sbin/install-info --delete %{_infodir}/sharutils.info.gz %{_infodir}/dir ||:
+    /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir ||:
 fi
 
 %clean
 rm -rf ${RPM_BUILD_ROOT}
 
 %files -f %{name}.lang
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
 %{_bindir}/*
 %{_infodir}/*info*
-%{_mandir}/*/*
+%{_mandir}/man1/*
+%{_mandir}/man5/*
 
 %changelog
+* Thu Sep  4 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 4.7-1
+- update to 4.7
+- fix license tag
+- package cleanups
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 4.6.3-2
 - Autorebuild for GCC 4.3
 
@@ -158,7 +170,7 @@
 - rebuilt in the new build environment
 
 * Thu Jun 08 2000 Than Ngo <than at redhat.de>
-- add %defattr(-,root,root) (Bug# 11990)
+- add %%defattr(-,root,root) (Bug# 11990)
 - use rpm macros
 
 * Sun May 21 2000 Ngo Than <than at redhat.de>




More information about the fedora-extras-commits mailing list