Name: pdfmod License: GPLv2+ Group: Publishing Version: 0.9.1 Release: %mkrel 6 Summary: PDF Mod is a simple application for modifying PDF documents Url: http://live.gnome.org/PdfMod Source: http://ftp.gnome.org/pub/GNOME/sources/pdfmod/0.9//%{name}-%{version}.tar.bz2 Source1: pdfmod-poppler-sharp.dll.config #patch for mono 2.10 Patch0: pdfmod-mono-2.10-1.patch BuildRequires: hyena >= 0.5 BuildRequires: docbook-dtd42-sgml BuildRequires: pkgconfig(gtk-sharp-2.0) BuildRequires: pkgconfig(glib-sharp-2.0) BuildRequires: pkgconfig(gconf-sharp-2.0) BuildRequires: pkgconfig(poppler-sharp) BuildRequires: gnome-doc-utils BuildRequires: mono-basic #BuildRequires: mono-data-sqlite BuildRequires: mono-devel BuildRequires: mono-nunit BuildRequires: ndesk-dbus BuildRequires: ndesk-dbus-glib-devel BuildRequires: scrollkeeper BuildRequires: tango-icon-theme BuildRequires: desktop-file-utils BuildRequires: intltool Requires: mono Requires: gtk-sharp2 %description PDF Mod is a simple application for modifying PDF documents. You can reorder, rotate, and remove pages, export images from a document, edit the title, subject, author, and keywords, and combine documents via drag and drop. %prep %setup -q %patch0 -p1 %build %configure2_5x --enable-external-poppler-sharp %make %install %makeinstall_std %find_lang %{name} --with-gnome desktop-file-edit --remove-category=Utility --add-category=Office data/%{name}.desktop desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ %{buildroot}%{_datadir}/applications/%{name}.desktop %files -f %{name}.lang %doc AUTHORS NEWS README COPYING %{_bindir}/%{name} %{_libdir}/%{name} %{_datadir}/icons/hicolor/*/apps/* %{_datadir}/applications/%{name}.desktop %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.9.1-6.mga3 + Revision: 362680 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Dec 08 2012 malo <malo> 0.9.1-5.mga3 + Revision: 328885 - update RPM group * Thu Jul 05 2012 fwang <fwang> 0.9.1-4.mga3 + Revision: 267858 - force use external poppler-sharep * Thu Jul 05 2012 fwang <fwang> 0.9.1-3.mga3 + Revision: 267854 - clean up spec - update br * Thu Jun 28 2012 malo <malo> 0.9.1-2.mga3 + Revision: 264732 - spec clean-up after import from Mandriva (patch by Ezim) - imported package pdfmod