File pdfmod.spec of Package pdfmod
#
# spec file for package pdfmod (Version 0.6)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name:           pdfmod
License:        GPL v2.1 or later
Group:          Productivity/Office/Other
Version:        0.6
Release:        1
Summary:        PDF Modifier
Url:            http://live.gnome.org/PdfMod
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  hyena
BuildRequires:  docbook_4
BuildRequires:  gconf-sharp2
BuildRequires:  glib-sharp2
BuildRequires:  gmime-sharp
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  gnome-sharp2
BuildRequires:  gtk-sharp2
BuildRequires:  gtk-sharp2-gapi
BuildRequires:  mono-basic
BuildRequires:  mono-data-sqlite
BuildRequires:  mono-devel
BuildRequires:  mono-nunit
BuildRequires:  ndesk-dbus
BuildRequires:  ndesk-dbus-glib-devel
BuildRequires:  perl-XML-Parser
BuildRequires:  scrollkeeper
BuildRequires:  tango-icon-theme
BuildRequires:  autoconf automake libtool make pkgconfig
BuildRequires:  intltool perl-XML-Parser update-desktop-files
Requires:       mono
Requires:       mono-core
Requires:       gtk-sharp2
Requires:       libpoppler-glib4
AutoReqProv:    on
%description
PDF Mod is a simple tool for modifying your PDFs; moving, removing, extracting, and rotating pages.
Authors:
--------
    Gabriel Burt <gabriel.burt@gmail.com>
%lang_package
%prep
%setup
%build
%configure 
make
%install
%makeinstall
%suse_update_desktop_file pdfmod Utility DesktopUtility
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post
gtk-update-icon-cache %{_datadir}/icons/hicolor/
%files
%defattr(-, root, root)
%doc AUTHORS NEWS README COPYING
%{_bindir}/%{name}
%{_libdir}/%{name}
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/applications/%{name}.desktop
%files lang -f %{name}.lang
%changelog