116 lines
3.4 KiB
RPMSpec
116 lines
3.4 KiB
RPMSpec
Name: djview
|
|
Version: 4.10.6
|
|
Release: 1mamba
|
|
Summary: A portable DjVu viewer
|
|
Group: Graphical Desktop/Applications/Publishing
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://djvu.sourceforge.net/djview4.html
|
|
Source: http://downloads.sourceforge.net/djvu/djview-%{version}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libdjvulibre-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libqt4-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libtiff-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXext-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
DjView4 is a new portable DjVu viewer and browser plugin.
|
|
|
|
Highlights:
|
|
|
|
Entirely based on the public djvulibre api.
|
|
Entirely written in portable Qt4.
|
|
Works with Qt/X11, Qt/Mac, and Qt/Windows.
|
|
Continuous scrolling of pages
|
|
Side-by-side display of pages
|
|
Ability to specify a url to the djview command
|
|
All plugin and cgi options available from the command line
|
|
All silly annotations implemented
|
|
Display thumbnails as a grid
|
|
Display outlines
|
|
Page names supported (see djvused command set-page-title)
|
|
Metadata dialog (see djvused command set-meta)
|
|
Implemented as reusable Qt widgets
|
|
|
|
%package mozilla-plugin
|
|
Summary: DjVuLibre plugin for web browsers
|
|
Group: Applications/Web
|
|
Provides: djvulibre15-plugins
|
|
Obsoletes: djvulibre15-plugins
|
|
Provides: djvulibre-plugins
|
|
Obsoletes: djvulibre-plugins
|
|
|
|
%description mozilla-plugin
|
|
DjView4 is a new portable DjVu viewer and browser plugin.
|
|
|
|
Highlights:
|
|
|
|
Entirely based on the public djvulibre api.
|
|
Entirely written in portable Qt4.
|
|
Works with Qt/X11, Qt/Mac, and Qt/Windows.
|
|
Continuous scrolling of pages
|
|
Side-by-side display of pages
|
|
Ability to specify a url to the djview command
|
|
All plugin and cgi options available from the command line
|
|
All silly annotations implemented
|
|
Display thumbnails as a grid
|
|
Display outlines
|
|
Page names supported (see djvused command set-page-title)
|
|
Metadata dialog (see djvused command set-meta)
|
|
Implemented as reusable Qt widgets
|
|
|
|
This package contains the mozilla-based plugin for browsers.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
export QTDIR=/usr/lib/qt4
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall plugindir=%{_libdir}/mozilla/plugins
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/djview
|
|
%dir %{_datadir}/djvu/djview4
|
|
%{_datadir}/djvu/djview4/*
|
|
%{_datadir}/applications/djvulibre-djview4.desktop
|
|
%{_datadir}/icons/hicolor/*/mimetypes/djvulibre-djview4.png
|
|
%{_datadir}/icons/hicolor/scalable/mimetypes/djvulibre-djview4.svgz
|
|
%{_mandir}/man1/djview.1*
|
|
%doc COPYING
|
|
|
|
%files mozilla-plugin
|
|
%defattr(-,root,root)
|
|
%{_libdir}/mozilla/plugins/nsdejavu.so
|
|
%{_libdir}/mozilla/plugins/nsdejavu.la
|
|
%{_mandir}/man1/nsdejavu.1*
|
|
|
|
%changelog
|
|
* Thu May 05 2016 Automatic Build System <autodist@mambasoft.it> 4.10.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jan 12 2016 Automatic Build System <autodist@mambasoft.it> 4.10.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Feb 22 2015 Automatic Build System <autodist@mambasoft.it> 4.10-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Dec 12 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8-1mamba
|
|
- package created by autospec
|