rpms/djvulibre/devel djvulibre.spec,1.4,1.5

Matthias Saou (thias) fedora-extras-commits at redhat.com
Tue Nov 16 17:36:38 UTC 2004


Changeset from: thias

Update of /cvs/extras/rpms/djvulibre/devel
In directory cvs.fedora.redhat.com:/tmp/cvs-serv23585

Modified Files:
	djvulibre.spec 
Log Message:
Merge changes, bump release.



Index: djvulibre.spec
===================================================================
RCS file: /cvs/extras/rpms/djvulibre/devel/djvulibre.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- djvulibre.spec	9 Nov 2004 02:45:31 -0000	1.4
+++ djvulibre.spec	16 Nov 2004 17:36:36 -0000	1.5
@@ -4,7 +4,7 @@
 Summary: DjVu viewers, encoders and utilities
 Name: djvulibre
 Version: 3.5.14
-Release: 1.1.fc2.fr
+Release: 3
 License: GPL
 Group: Applications/Publishing
 URL: http://djvu.sourceforge.net/
@@ -12,12 +12,15 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: XFree86-devel, qt-devel, libjpeg-devel
 BuildRequires: libstdc++-devel, gcc-c++, mozilla
+# Provide these here, they're so small, it's not worth splitting them out
+Provides: mozilla-djvulibre = %{version}-%{release}
+Provides: djvulibre-devel = %{version}-%{release}
 
 %description 
 DjVu is a web-centric format and software platform for distributing documents
 and images.  DjVu content downloads faster, displays and renders faster, looks
 nicer on a screen, and consume less client resources than competing formats.
-DjVu was originally developped at AT&T Labs-Research by Leon Bottou, Yann
+DjVu was originally developed at AT&T Labs-Research by Leon Bottou, Yann
 LeCun, Patrick Haffner, and many others.  In March 2000, AT&T sold DjVu to
 LizardTech Inc. who now distributes Windows/Mac plug-ins, and commercial
 encoders (mostly on Windows)
@@ -41,9 +44,12 @@
 %install
 %{__rm} -rf %{buildroot}
 %makeinstall
-#%{__mkdir_p} %{buildroot}%{_libdir}/mozilla/plugins
-#%{__ln_s} ../../netscape/plugins/nsdejavu.so \
-#    %{buildroot}%{_libdir}/mozilla/plugins/
+%{__mkdir_p} %{buildroot}%{_libdir}/mozilla/plugins
+%{__ln_s} ../../netscape/plugins/nsdejavu.so \
+    %{buildroot}%{_libdir}/mozilla/plugins/
+
+# Fix for the libs to get stripped correctly (debuginfo)
+find %{buildroot}%{_libdir} -name '*.so*' | xargs %{__chmod} +x
 
 
 %clean
@@ -52,9 +58,11 @@
 
 %post
 /sbin/ldconfig
+update-desktop-database /usr/share/applications || :
 
 %postun
 /sbin/ldconfig
+update-desktop-database /usr/share/applications || :
 
 
 %files
@@ -76,6 +84,19 @@
 
 
 %changelog
+* Tue Nov 16 2004 Matthias Saou <http://freshrpms.net/> 3.5.14-3
+- Bump release to provide Extras upgrade path.
+
+* Fri Nov  5 2004 Matthias Saou <http://freshrpms.net/> 3.5.14-2
+- Re-enable the lib/mozilla/ symlink to the plugin.
+- Add source of /etc/profile.d/qt.sh to fix weird detection problem on FC3...
+  ...doesn't fix it, some lib required by qt is probably installed after and
+  ldconfig not run.
+- Added lib +x chmod'ing to get proper stripping and debuginfo package.
+
+* Sat Oct 16 2004 Matthias Saou <http://freshrpms.net/> 3.5.14-2
+- Added update-desktop-database scriplet calls.
+
 * Mon Aug 16 2004 Matthias Saou <http://freshrpms.net/> 3.5.14-1
 - Update to 3.5.14.
 - Added newly introduced files to the package.




More information about the fedora-extras-commits mailing list