rpms/pdfchain/F-11 pdfchain-desktop.patch, NONE, 1.1 pdfchain.spec, NONE, 1.1 sources, 1.1, 1.2

Jussi Lehtola jussilehtola at fedoraproject.org
Wed May 27 20:06:58 UTC 2009


Author: jussilehtola

Update of /cvs/pkgs/rpms/pdfchain/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16458/F-11

Modified Files:
	sources 
Added Files:
	pdfchain-desktop.patch pdfchain.spec 
Log Message:
Imported in Fedora.

pdfchain-desktop.patch:

--- NEW FILE pdfchain-desktop.patch ---
diff -up pdfchain_v.0.99/pdfchain.desktop.orig pdfchain_v.0.99/pdfchain.desktop
--- pdfchain_v.0.99/pdfchain.desktop.orig	2009-04-06 20:41:34.000000000 +0300
+++ pdfchain_v.0.99/pdfchain.desktop	2009-05-27 17:08:47.000000000 +0300
@@ -1,16 +1,12 @@
 [Desktop Entry]
-Version=ALPHA
 Encoding=UTF-8
 Name=PDF Chain
 GenericName=pdfchain
 Comment=GUI for PDFTK - A graphical tool for manipulating PDF
-Exec=/usr/bin/pdfchain
-Icon=/usr/share/pixmaps/pdfchain.png
+Exec=pdfchain
+Icon=pdfchain
 Type=Application
 StartupNotify=false
 Categories=Office;
 MimeType=application/pdf;
 Terminal=false
-
-#Name[de_DE]=PDF Chain
-#Comment[de_DE]=GUI für PDFTK - Ein grafisches Werkzeug zum manipulieren von PDFs
\ No newline at end of file


--- NEW FILE pdfchain.spec ---
Name:		pdfchain
Version:	0.99
Release:	3%{?dist}
Summary:	A GUI for pdftk
Group:		Applications/Productivity
License:	GPLv3
URL:		http://sourceforge.net/projects/pdfchain
Source0:	http://downloads.sourceforge.net/pdfchain/%{name}_v.%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Patch to make specfile conform to standards
Patch0:		pdfchain-desktop.patch

BuildRequires:	desktop-file-utils
BuildRequires:	glibmm24-devel
BuildRequires:	gtkmm24-devel

Requires:		pdftk
Requires(post):		desktop-file-utils
Requires(postun):	desktop-file-utils

%description
PDF Chain is a GUI for pdftk written with gtkmm. You can merge some pdf files
to one pdf file or split. There are also some options and tools.

%prep
%setup -q -n %{name}_v.%{version}
%patch0 -p1

%build
# Remove binary in tarball
make clean
make CFLAGS="`pkg-config gtkmm-2.4 --cflags --libs` %{optflags}" %{?_smp_mflags}

%install
rm -rf %{buildroot} 
install -D -p -m 755 %{name} %{buildroot}%{_bindir}/%{name}
install -D -p -m 644 %{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{name}.desktop

# Update mime types
%post
update-desktop-database &> /dev/null || :

%postun
update-desktop-database &> /dev/null || :


%clean
rm -rf %{buildroot} 

%files
%defattr(-,root,root,-)
%doc doc/changelog.txt doc/copyright.txt doc/license.txt doc/releasenotes.txt
%{_bindir}/pdfchain
%{_datadir}/applications/pdfchain.desktop
%{_datadir}/pixmaps/pdfchain.png

%changelog
* Wed May 27 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 0.99-3
- Added missing BR: desktop-file-utils.
- Set license as GPLv3 for now.

* Wed May 27 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 0.99-2
- Clean up spec file for inclusion into Fedora.

* Wed May 6 2009  Leigh Scott <leigh123linux at googlemail.com> - 0.99-1
- Initial build


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pdfchain/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	27 May 2009 19:57:38 -0000	1.1
+++ sources	27 May 2009 20:06:28 -0000	1.2
@@ -0,0 +1 @@
+0ede5640b1c6f0f2f513e992b60a261f  pdfchain_v.0.99.tar.gz




More information about the fedora-extras-commits mailing list