diff --git a/compface-nostrip.patch b/compface-nostrip.patch new file mode 100644 index 0000000..d3d5920 --- /dev/null +++ b/compface-nostrip.patch @@ -0,0 +1,9 @@ +--- Makefile.in~ 2000-11-22 15:38:39.000000000 +0200 ++++ Makefile.in 2004-12-17 02:04:55.304563553 +0200 +@@ -75,6 +75,4 @@ + -chmod 0755 $(EXECUTABLE) +- -strip $(EXECUTABLE) + $(INSTALL_PROGRAM) $(srcdir)/$(UNNAME) $(UNEXECUTABLE) + -chmod 0755 $(UNEXECUTABLE) +- -strip $(UNEXECUTABLE) + $(INSTALL_DATA) $(srcdir)/$(NAME).1 $(MAN1DIR)/$(NAME).1 diff --git a/compface.spec b/compface.spec index e013084..0f3a448 100644 --- a/compface.spec +++ b/compface.spec @@ -1,6 +1,6 @@ Name: compface Version: 1.4 -Release: 3 +Release: 4 Epoch: 0 Summary: Library for handling X-Faces @@ -10,6 +10,7 @@ URL: http://www.ibiblio.org/pub/Linux/apps/graphics/convert/ Source0: ftp://ftp.ibiblio.org/pub/Linux/apps/graphics/convert/compface-1.4.tar.gz Source1: ftp://ftp.ibiblio.org/pub/Linux/apps/graphics/convert/compface-1.4.lsm Patch0: %{name}-errno.patch +Patch1: %{name}-nostrip.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Provides: %{name}-devel = %{epoch}:%{version}-%{release} @@ -17,20 +18,18 @@ Provides: %{name}-devel = %{epoch}:%{version}-%{release} %description Library for handling X-Faces and Bitblit icons. -# ----------------------------------------------------------------------------- %prep %setup -q cp -p %{SOURCE1} . %patch0 -p0 +%patch1 -p0 -# ----------------------------------------------------------------------------- %build %configure make %{?_smp_mflags} -# ----------------------------------------------------------------------------- %install rm -rf $RPM_BUILD_ROOT @@ -42,24 +41,25 @@ mkdir -p \ MANDIR=$RPM_BUILD_ROOT%{_mandir} \ INCLUDEDIR=$RPM_BUILD_ROOT%{_includedir} -# ----------------------------------------------------------------------------- %clean rm -rf $RPM_BUILD_ROOT -# ----------------------------------------------------------------------------- %files %defattr(-,root,root,-) %doc ChangeLog README *.lsm -%{_bindir}/* -%{_mandir}/*/* -%{_libdir}/* -%{_includedir}/* +%{_bindir}/*compface +%{_libdir}/libcompface.a +%{_includedir}/compface.h +%{_mandir}/man1/*compface.1* +%{_mandir}/man3/*compface.3* -# ----------------------------------------------------------------------------- %changelog +* Fri Dec 17 2004 Ville Skyttä - 0:1.4-4 +- Let rpmbuild take care of stripping binaries. + * Fri May 30 2003 Ville Skyttä - 0:1.4-0.fdr.3 - Add URL, other minor specfile tweaks (#63).