pdf2djvu/pdf2djvu.spec

64 lines
1.9 KiB
RPMSpec
Raw Normal View History

2008-11-11 08:00:43 +00:00
Name: pdf2djvu
2009-01-17 04:42:13 +00:00
Version: 0.5.0
Release: 4%{?dist}
2008-11-11 08:00:43 +00:00
Summary: PDF to DjVu converter
Group: Applications/Publishing
License: GPLv2+
URL: http://pdf2djvu.googlecode.com/
Source0: http://pdf2djvu.googlecode.com/files/%{name}_%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: djvulibre-devel djvulibre
2008-11-11 08:00:43 +00:00
BuildRequires: libjpeg-devel
BuildRequires: pkgconfig
BuildRequires: poppler-devel
BuildRequires: pstreams-devel
BuildRequires: fontconfig-devel
2008-11-11 08:00:43 +00:00
%description
pdf2djvu creates DjVu files from PDF files. It's able to extract:
graphics, text layer, hyperlinks, document outline (bookmarks) and
metadata.
%prep
%setup -q
%build
2009-01-17 04:42:13 +00:00
%configure
make %{?_smp_mflags}
2008-11-11 08:00:43 +00:00
%install
rm -rf $RPM_BUILD_ROOT
2009-01-17 04:42:13 +00:00
make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install
2008-11-11 08:00:43 +00:00
install -p -m 644 -D {doc,%{buildroot}%{_mandir}/man1}/pdf2djvu.1
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_mandir}/man1/*
%changelog
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Apr 29 2009 Milos Jakubicek <xjakub@fi.muni.cz> - 0.5.0-3
- Fix FTBFS: added BR: djvulibre, fontconfig-devel.
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2009-01-17 04:42:13 +00:00
* Sat Jan 17 2009 Rakesh Pandit <rakesh@fedoraproject.org> 0.5.0-1
- Updated to 0.5.0
2008-11-11 08:00:43 +00:00
* Mon Nov 10 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.4.13-3
- Cleaned useless permissions in %%files section
* Sat Nov 08 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.4.13-2
- Saving timestamp, fixed buildrequires, corrected license and did some cleaning.
* Tue Nov 04 2008 Rakesh Pandit <rakesh@fedoraproject.org> 0.4.13-1
- Initial package.