import diffpdf 0.3.8
This commit is contained in:
parent
ea390bba3d
commit
50c167cb76
@ -0,0 +1 @@
|
|||||||
|
diffpdf-0.3.8.tar.gz
|
8
diffpdf.desktop
Normal file
8
diffpdf.desktop
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=diffpdf
|
||||||
|
Comment=PDF files comparator
|
||||||
|
Exec=diffpdf
|
||||||
|
Icon=diffpdf.png
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Utility;TextTools;
|
78
diffpdf.spec
Normal file
78
diffpdf.spec
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
Name: diffpdf
|
||||||
|
Version: 0.3.8
|
||||||
|
Release: 3%{?dist}
|
||||||
|
Summary: PDF files comparator
|
||||||
|
|
||||||
|
Group: Applications/Text
|
||||||
|
License: GPLv2+
|
||||||
|
URL: http://www.qtrac.eu/diffpdf.html
|
||||||
|
Source0: http://www.qtrac.eu/diffpdf-%{version}.tar.gz
|
||||||
|
Source3: %{name}.desktop
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
BuildRequires: poppler-qt4-devel, desktop-file-utils
|
||||||
|
Requires: hicolor-icon-theme
|
||||||
|
|
||||||
|
%description
|
||||||
|
DiffPDF is used to compare two PDF files. By default the comparison is
|
||||||
|
of the text on each pair of pages, but comparing the appearance of pages
|
||||||
|
is also supported (for example, if a diagram is changed or a paragraph
|
||||||
|
reformatted). It is also possible to compare particular pages or page
|
||||||
|
ranges.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
qmake-qt4
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||||
|
install -m 755 diffpdf $RPM_BUILD_ROOT%{_bindir}
|
||||||
|
|
||||||
|
for f in 32 16; do
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/"$f"x$f/apps
|
||||||
|
convert images/icon.png -size "$f"x$f diffpdf-$f.png
|
||||||
|
install -p diffpdf-$f.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/"$f"x$f/apps/diffpdf.png
|
||||||
|
done
|
||||||
|
|
||||||
|
desktop-file-install \
|
||||||
|
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
|
||||||
|
%{SOURCE3}
|
||||||
|
|
||||||
|
%post
|
||||||
|
touch --no-create %{_datadir}/icons/hicolor
|
||||||
|
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
||||||
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
%postun
|
||||||
|
touch --no-create %{_datadir}/icons/hicolor
|
||||||
|
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
||||||
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||||
|
fi
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc gpl-2.0.txt boson1.pdf boson2.pdf README
|
||||||
|
%{_bindir}/diffpdf
|
||||||
|
%{_datadir}/icons/hicolor/??x??/apps/*.png
|
||||||
|
%{_datadir}/applications/%{name}.desktop
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Dec 12 2008 Rafał Psota <rafalzaq@gmail.com> - 0.3.8-3
|
||||||
|
- drop vendor for desktop file
|
||||||
|
* Thu Nov 27 2008 Rafał Psota <rafalzaq@gmail.com> - 0.3.8-2
|
||||||
|
- forgot about desktop file
|
||||||
|
* Tue Nov 11 2008 Rafał Psota <rafalzaq@gmail.com> - 0.3.8-1
|
||||||
|
- Initial release
|
1
import.log
Normal file
1
import.log
Normal file
@ -0,0 +1 @@
|
|||||||
|
diffpdf-0_3_8-3_fc8:HEAD:diffpdf-0.3.8-3.fc8.src.rpm:1229258202
|
Loading…
Reference in New Issue
Block a user