rpms/lcms/devel lcms.spec,1.14,1.15
Chauvet (kwizart)
fedora-extras-commits at redhat.com
Mon Feb 11 10:52:53 UTC 2008
Author: kwizart
Update of /cvs/pkgs/rpms/lcms/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32707
Modified Files:
lcms.spec
Log Message:
- Prevent timestramps change
- Convert files-not-utf8
Index: lcms.spec
===================================================================
RCS file: /cvs/pkgs/rpms/lcms/devel/lcms.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- lcms.spec 11 Feb 2008 10:24:31 -0000 1.14
+++ lcms.spec 11 Feb 2008 10:51:50 -0000 1.15
@@ -60,6 +60,18 @@
%patch1 -p1 -b .python-lib64
find . -name \*.[ch] | xargs chmod -x
+# Convert not UTF-8 files
+pushd doc
+mkdir -p __temp
+for f in LCMSAPI.TXT TUTORIAL.TXT ;do
+cp -p $f __temp/$f
+iconv -f ISO-8859-1 -t UTF-8 __temp/$f > $f
+touch -r __temp/$f $f
+done
+rm -rf __temp
+popd
+
+
%build
autoreconf
%configure --with-python --disable-static
@@ -69,7 +81,7 @@
%install
rm -rf ${RPM_BUILD_ROOT}
-make install DESTDIR=${RPM_BUILD_ROOT}
+make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
chmod 0644 AUTHORS COPYING ChangeLog NEWS README.1ST doc/TUTORIAL.TXT doc/LCMSAPI.TXT
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
@@ -78,19 +90,20 @@
rm -rf ${RPM_BUILD_ROOT}
-%post -p /sbin/ldconfig
+%post libs -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
-%doc AUTHORS COPYING NEWS README.1ST doc/TUTORIAL.TXT
+%doc README.1ST doc/TUTORIAL.TXT
%{_bindir}/*
%{_mandir}/man1/*
-%files
+%files libs
%defattr(-,root,root,-)
+%doc AUTHORS COPYING NEWS
%{_libdir}/*.so.*
%files devel
@@ -110,6 +123,8 @@
* Mon Feb 11 2008 kwizart < kwizart at gmail.com > - 1.17-3
- Rebuild for gcc 4.3
- Move libs to mutlilibs
+- Prevent timestramps change
+- Convert files-not-utf8
* Wed Aug 22 2007 kwizart < kwizart at gmail.com > - 1.17-2
- Disable static for now.
More information about the fedora-extras-commits
mailing list