Spec clean-up

This commit is contained in:
Filipe Rosset 2016-05-17 00:54:01 -03:00
parent fdeff830dd
commit 9c6fb6ca4c

View File

@ -2,14 +2,12 @@
Name: pdf2djvu
Version: 0.9.4
Release: 2%{?dist}
Release: 3%{?dist}
Summary: PDF to DjVu converter
Group: Applications/Publishing
License: GPLv2+
URL: http://jwilk.net/software/pdf2djvu
Source0: https://bitbucket.org/jwilk/pdf2djvu/downloads/%{name}-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: djvulibre-devel djvulibre
BuildRequires: libjpeg-devel
BuildRequires: pkgconfig
@ -31,17 +29,12 @@ metadata.
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install
install -p -m 644 -D {doc,%{buildroot}%{_mandir}/man1}/%{name}.1
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%{_mandir}/de/man1/%{name}.1.gz
@ -51,6 +44,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/ru/man1/%{name}.1.gz
%changelog
* Tue May 17 2016 Filipe Rosset <rosset.filipe@gmail.com> - 0.9.4-3
- Spec clean-up
* Tue May 3 2016 Marek Kasik <mkasik@redhat.com> - 0.9.4-2
- Rebuild for poppler-0.43.0