93 lines
2.6 KiB
RPMSpec
93 lines
2.6 KiB
RPMSpec
Name: djview
|
|
Version: 4.12
|
|
Release: 2mamba
|
|
Summary: A portable DjVu viewer
|
|
Group: Graphical Desktop/Applications/Publishing
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://djvu.sourceforge.net/djview4.html
|
|
Source: http://downloads.sourceforge.net/djvu/djview-%{version}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: ldconfig
|
|
BuildRequires: libGL-devel
|
|
BuildRequires: libdjvulibre-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libqt5-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libtiff-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
DjView is a portable DjVu viewer and browser plugin.
|
|
|
|
%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
|
|
DjView is a new portable DjVu viewer and browser plugin.
|
|
This package provides the web browser plugin.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n djview4-%{version}
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
%build
|
|
%configure \
|
|
QTDIR=%{_libdir}/qt5
|
|
|
|
%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
|
|
* Mon Feb 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.12-2mamba
|
|
- rebuilt with qt5
|
|
|
|
* Fri Feb 05 2021 Automatic Build System <autodist@mambasoft.it> 4.12-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|