|
|
@ -1,10 +1,10 @@
|
|
|
|
# $Id: djvulibre.spec,v 1.4 2004/11/09 02:45:31 cvsextras Exp $
|
|
|
|
# $Id: djvulibre.spec,v 1.5 2004/11/16 17:36:36 thias Exp $
|
|
|
|
# Authority: matthias
|
|
|
|
# Authority: matthias
|
|
|
|
|
|
|
|
|
|
|
|
Summary: DjVu viewers, encoders and utilities
|
|
|
|
Summary: DjVu viewers, encoders and utilities
|
|
|
|
Name: djvulibre
|
|
|
|
Name: djvulibre
|
|
|
|
Version: 3.5.14
|
|
|
|
Version: 3.5.14
|
|
|
|
Release: 1.1.fc2.fr
|
|
|
|
Release: 3
|
|
|
|
License: GPL
|
|
|
|
License: GPL
|
|
|
|
Group: Applications/Publishing
|
|
|
|
Group: Applications/Publishing
|
|
|
|
URL: http://djvu.sourceforge.net/
|
|
|
|
URL: http://djvu.sourceforge.net/
|
|
|
@ -12,12 +12,15 @@ Source: http://dl.sf.net/djvu/djvulibre-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
BuildRequires: XFree86-devel, qt-devel, libjpeg-devel
|
|
|
|
BuildRequires: XFree86-devel, qt-devel, libjpeg-devel
|
|
|
|
BuildRequires: libstdc++-devel, gcc-c++, mozilla
|
|
|
|
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
|
|
|
|
%description
|
|
|
|
DjVu is a web-centric format and software platform for distributing documents
|
|
|
|
DjVu is a web-centric format and software platform for distributing documents
|
|
|
|
and images. DjVu content downloads faster, displays and renders faster, looks
|
|
|
|
and images. DjVu content downloads faster, displays and renders faster, looks
|
|
|
|
nicer on a screen, and consume less client resources than competing formats.
|
|
|
|
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
|
|
|
|
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
|
|
|
|
LizardTech Inc. who now distributes Windows/Mac plug-ins, and commercial
|
|
|
|
encoders (mostly on Windows)
|
|
|
|
encoders (mostly on Windows)
|
|
|
@ -41,9 +44,12 @@ compatible with version 3.5 of the LizardTech DjVu software suite.
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%makeinstall
|
|
|
|
%makeinstall
|
|
|
|
#%{__mkdir_p} %{buildroot}%{_libdir}/mozilla/plugins
|
|
|
|
%{__mkdir_p} %{buildroot}%{_libdir}/mozilla/plugins
|
|
|
|
#%{__ln_s} ../../netscape/plugins/nsdejavu.so \
|
|
|
|
%{__ln_s} ../../netscape/plugins/nsdejavu.so \
|
|
|
|
# %{buildroot}%{_libdir}/mozilla/plugins/
|
|
|
|
%{buildroot}%{_libdir}/mozilla/plugins/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Fix for the libs to get stripped correctly (debuginfo)
|
|
|
|
|
|
|
|
find %{buildroot}%{_libdir} -name '*.so*' | xargs %{__chmod} +x
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%clean
|
|
|
@ -52,9 +58,11 @@ compatible with version 3.5 of the LizardTech DjVu software suite.
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
update-desktop-database /usr/share/applications || :
|
|
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
update-desktop-database /usr/share/applications || :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
@ -76,6 +84,19 @@ compatible with version 3.5 of the LizardTech DjVu software suite.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%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
|
|
|
|
* Mon Aug 16 2004 Matthias Saou <http://freshrpms.net/> 3.5.14-1
|
|
|
|
- Update to 3.5.14.
|
|
|
|
- Update to 3.5.14.
|
|
|
|
- Added newly introduced files to the package.
|
|
|
|
- Added newly introduced files to the package.
|
|
|
|