[svn] r6002 - in trunk/rpms: . pdfedit perl-MIME-tools

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Mon Nov 19 13:12:31 CET 2007


Author: dag
Date: 2007-11-19 13:08:51 +0100 (Mon, 19 Nov 2007)
New Revision: 6002

Added:
   trunk/rpms/pdfedit/
   trunk/rpms/pdfedit/pdfedit-0.3.2-destdir.patch
   trunk/rpms/pdfedit/pdfedit.spec
   trunk/rpms/perl-MIME-tools/perl-MIME-tools-5.420.spec
Modified:
   trunk/rpms/perl-MIME-tools/perl-MIME-tools.spec
Log:
Updates

Added: trunk/rpms/pdfedit/pdfedit-0.3.2-destdir.patch
===================================================================
--- trunk/rpms/pdfedit/pdfedit-0.3.2-destdir.patch	                        (rev 0)
+++ trunk/rpms/pdfedit/pdfedit-0.3.2-destdir.patch	2007-11-19 12:08:51 UTC (rev 6002)
@@ -0,0 +1,77 @@
+--- pdfedit-0.3.1-pristine/src/gui/pdfedit.pro	2007-04-29 11:28:52.000000000 -0600
++++ pdfedit-0.3.1/src/gui/pdfedit.pro	2007-04-29 13:09:11.000000000 -0600
+@@ -46,56 +46,56 @@
+ 
+ #Data files installed in application data path (typically /usr/share/pdfedit)
+ # Basic data files
+-data.path       = $$DATA_PATH
++data.path       = $(QMAKE_DESTDIR)/$$DATA_PATH
+ data.files      = pdfeditrc *.conf *.qs operator.hint
+ # Icons
+-data_icon.path  	= $$DATA_PATH/icon
++data_icon.path  	= $(QMAKE_DESTDIR)/$$DATA_PATH/icon
+ data_icon.files 	= icon/*.png icon/*.svg
+ # Hi-color icon theme
+-data_icon_hicolor.path  = $$DATA_PATH/icon/hicolor
++data_icon_hicolor.path  = $(QMAKE_DESTDIR)/$$DATA_PATH/icon/hicolor
+ data_icon_hicolor.files = icon/hicolor/*.png 
+ # Help files (english)
+-data_help.path  	= $$DATA_PATH/help
++data_help.path  	= $(QMAKE_DESTDIR)/$$DATA_PATH/help
+ data_help.files 	= help/*.html
+ # Help files (czech)
+-data_help_cs.path 	= $$DATA_PATH/help/cs
++data_help_cs.path 	= $(QMAKE_DESTDIR)/$$DATA_PATH/help/cs
+ data_help_cs.files	= help/cs/*.html
+ # Help images
+-data_help_images.path 	= $$DATA_PATH/help/images
++data_help_images.path 	= $(QMAKE_DESTDIR)/$$DATA_PATH/help/images
+ data_help_images.files	= ../../doc/user/images/*.png
+ # Language files
+-data_lang.path  	= $$DATA_PATH/lang
++data_lang.path  	= $(QMAKE_DESTDIR)/$$DATA_PATH/lang
+ data_lang.files 	= lang/*.qm
+ # Scripts
+-data_scripts.path	= $$DATA_PATH/scripts
++data_scripts.path	= $(QMAKE_DESTDIR)/$$DATA_PATH/scripts
+ 			# do not include script files starting with underscore,
+ 			# as they are only for development/testing and not for production use
+ data_scripts.files 	= scripts/[a-z0-9A-Z]*.qs
+ 
+ # Documentation installed in documentation path (typically /usr/share/doc)
+-doc.path        = $$DOC_PATH
++doc.path        = $(QMAKE_DESTDIR)/$$DOC_PATH
+ doc.files       = ../../doc/user/*.html ../../doc/user/*.pdf  ../../doc/LICENSE.GPL ../../README ../../Changelog ../../doc/AUTHORS
+-doc_images.path		= $$DOC_PATH/images
++doc_images.path		= $(QMAKE_DESTDIR)/$$DOC_PATH/images
+ doc_images.files	= ../../doc/user/images/*.png
+-doc_kernel_images.path	= $$DOC_PATH/design/kernel/images
++doc_kernel_images.path	= $(QMAKE_DESTDIR)/$$DOC_PATH/design/kernel/images
+ doc_kernel_images.files	= ../../doc/design/kernel/images/*.png
+-doc_gui_images.path	= $$DOC_PATH/gui/images
++doc_gui_images.path	= $(QMAKE_DESTDIR)/$$DOC_PATH/gui/images
+ doc_gui_images.files	= ../../doc/user/gui/images/*.png
+-doc_gui_m_images.path	= $$DOC_PATH/gui/menuAndToolbarsFun/images
++doc_gui_m_images.path	= $(QMAKE_DESTDIR)/$$DOC_PATH/gui/menuAndToolbarsFun/images
+ doc_gui_m_images.files	= ../../doc/user/gui/menuAndToolbarsFun/images/*.png
+-doc_design.path 	= $$DOC_PATH/design
++doc_design.path 	= $(QMAKE_DESTDIR)/$$DOC_PATH/design
+ doc_design.files	= ../../doc/design/*.html ../../doc/design/kernel/*.pdf
+-doc_design_images.path	= $$DOC_PATH/design/images
++doc_design_images.path	= $(QMAKE_DESTDIR)/$$DOC_PATH/design/images
+ doc_design_images.files	= ../../doc/design/images/*.png
+-doc_examples.path 	= $$DOC_PATH/examples
++doc_examples.path 	= $(QMAKE_DESTDIR)/$$DOC_PATH/examples
+ doc_examples.files	= ../../doc/examples/*.qs
+ 
+ # Man page installed in man path (typically /usr/share/man/man1)
+-pdfedit_manual.path	= $$MAN_PATH
++pdfedit_manual.path	= $(QMAKE_DESTDIR)/$$MAN_PATH
+ pdfedit_manual.files	= ../../doc/user/pdfedit.1
+ 
+ #Binary file installed in binary path (typically /usr/bin)
+-pdfedit.path    = $$BIN_PATH
++pdfedit.path    = $(QMAKE_DESTDIR)/$$BIN_PATH
+ pdfedit.files   = pdfedit
+ 
+ # cygwin hack

Added: trunk/rpms/pdfedit/pdfedit.spec
===================================================================
--- trunk/rpms/pdfedit/pdfedit.spec	                        (rev 0)
+++ trunk/rpms/pdfedit/pdfedit.spec	2007-11-19 12:08:51 UTC (rev 6002)
@@ -0,0 +1,118 @@
+# $Id$
+# Authority: dag
+
+%{?dtag: %{expand: %%define %dtag 1}}
+
+%{?fc4:%define _without_modxorg 1}
+%{?el4:%define _without_modxorg 1}
+%{?fc3:%define _without_modxorg 1}
+%{?fc2:%define _without_modxorg 1}
+%{?fc1:%define _without_modxorg 1}
+%{?el3:%define _without_modxorg 1}
+%{?rh9:%define _without_modxorg 1}
+%{?rh7:%define _without_modxorg 1}
+%{?el2:%define _without_modxorg 1}
+%{?yd3:%define _without_modxorg 1}
+
+%{!?dtag:%define _with_lesstif 1}
+%{?fc6:%define _with_lesstif 1}
+%{?fc3:%define _with_lesstif 1}
+%{?el2:%define _with_lesstif 1}
+
+%{?rh7:%define _without_freedesktop 1}
+%{?el2:%define _without_freedesktop 1}
+
+%define desktop_vendor rpmforge
+
+Summary: PDF document editing solution
+Name: pdfedit
+Version: 0.3.2
+Release: 1
+License: GPL
+Group: Applications/Publishing
+URL: http://sourceforge.net/projects/pdfedit/
+
+Source: http://dl.sf.net/pdfedit/pdfedit-%{version}.tar.bz2
+Patch: pdfedit-0.3.2-destdir.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: boost-devel, libpaper-devel, qt-devel
+BuildRequires: doxygen, t1lib-devel
+%{!?_without_modxorg:BuildRequires: libXpù-devel}
+%{?_without_modxorg:BuildRequires: XFree86-devel}
+%{?_with_lesstif:BuildRequires: lesstif-devel}
+%{!?_with_lesstif:BuildRequires: openmotif-devel}
+%{!?_without_freedesktop:BuildRequires: desktop-file-utils}
+
+%description
+Free pdf editing using PdfEdit. Complete editing of pdf documents is made
+possible with PDFedit. You can change either raw pdf objects (for advanced
+users) or use predefined gui functions. Functions can be easily added as
+everything is based on a script.
+
+%prep
+%setup
+%patch0 -p1 -b .destdir
+
+%{__cat} <<EOF >pdfedit.desktop
+[Desktop Entry]
+Name=pdfedit
+GenericName=PDF Editor
+Comment=Edit .pdf files
+Exec=pdfedit
+Icon=pdfedit.png
+Terminal=false
+Type=Application
+Categories=Office;
+Encoding=UTF-8
+EOF
+
+%build
+export QMAKESPEC="linux-g++"
+%configure
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install QMAKE_DESTDIR="%{buildroot}"
+
+%{__install} -Dp -m0644 src/gui/icon/pdfedit_icon_16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/pdfedit.png
+%{__install} -Dp -m0644 src/gui/icon/pdfedit_icon_32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/pdfedit.png
+%{__install} -Dp -m0644 src/gui/icon/pdfedit_icon_48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/pdfedit.png
+%{__install} -Dp -m0644 src/gui/icon/pdfedit_icon_64.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/pdfedit.png
+
+desktop-file-install --vendor="%{desktop_vendor}" \
+    --dir=%{buildroot}%{_datadir}/applications    \
+    pdfedit.desktop
+
+%{__mv} -v %{buildroot}%{_docdir}/pdfedit/ rpm-doc/
+
+for file in doc/user/*.html; do
+    %{__perl} -pi -e 's|gui/menuAndToolbarsFun/||g; s|gui/||g;' $file
+done
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post
+update-desktop-database &>/dev/null || :
+touch --no-create %{_datadir}/icons/hicolor || :
+%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+update-desktop-database &> /dev/null ||:
+touch --no-create %{_datadir}/icons/hicolor || :
+%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files
+%defattr(-, root, root, 0755)
+%doc COPYING rpm-doc/*
+%doc %{_mandir}/man1/pdfedit.1*
+%{_bindir}/pdfedit
+%{_datadir}/applications/%{desktop_vendor}-pdfedit.desktop
+%{_datadir}/icons/hicolor/*/apps/pdfedit.png
+%{_datadir}/pdfedit/
+
+%changelog
+* Mon Nov 19 2007 Dag Wieers <dag at wieers.com> - 0.3.2-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/pdfedit/pdfedit.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/rpms/perl-MIME-tools/perl-MIME-tools-5.420.spec
===================================================================
--- trunk/rpms/perl-MIME-tools/perl-MIME-tools-5.420.spec	                        (rev 0)
+++ trunk/rpms/perl-MIME-tools/perl-MIME-tools-5.420.spec	2007-11-19 12:08:51 UTC (rev 6002)
@@ -0,0 +1,95 @@
+# $Id: perl-MIME-tools.spec 5999 2007-11-18 21:44:00Z dag $
+# Authority: dag
+# Upstream: Eryq <eryq$zeegee,com>
+# Upstream: David F. Skoll <dfs$roaringpenguin,com>
+# Upstream: Dave O'Neill <dmo$roaringpenguin,com>
+
+%{?dtag: %{expand: %%define %dtag 1}}
+
+%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
+%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
+
+%define real_name MIME-tools
+
+Summary: Tools to manipulate MIME messages
+Name: perl-MIME-tools
+Version: 5.420
+Release: 2
+License: Artistic/GPL
+Group: Applications/CPAN
+URL: http://search.cpan.org/dist/MIME-tools/
+
+Source: http://www.cpan.org/modules/by-module/MIME/MIME-tools-%{version}.tar.gz
+Patch: http://www.roaringpenguin.com/mimedefang/mime-tools-patch.txt
+Patch1: MIME-Tools.diff
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+BuildRequires: perl-MailTools
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(IO::Stringy) >= 1.211
+Requires: perl-MailTools >= 1.15
+Requires: perl(IO::Stringy) >= 1.211
+%{?rh7:BuildRequires: perl(MIME::Base64) >= 2.04}
+%{?el2:BuildRequires: perl-MIME-Base64 >= 2.04}
+
+%description
+MIME-tools - modules for parsing (and creating!) MIME entities Modules in this
+toolkit : Abstract message holder (file, scalar, etc.), OO interface for
+decoding MIME messages, an extracted and decoded MIME entity, Mail::Field
+subclasses for parsing fields, a parsed MIME header (Mail::Header subclass),
+parser and tool for building your own MIME parser, and utilities.
+
+%prep
+%setup -n %{real_name}-%{version}
+#patch -p1
+#patch1 -p1
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
+%{__make} %{?_smp_mflags}
+#{__make} test
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} pure_install
+
+### Clean up buildroot
+find %{buildroot} -name .packlist -exec %{__rm} {} \;
+
+### Clean up docs
+find examples/ -type f -exec %{__chmod} a-x {} \;
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc COPYING ChangeLog INSTALLING MANIFEST MANIFEST.SKIP META.yml README README-OR-DIE README.system examples/
+%doc %{_mandir}/man3/MIME::*.3pm*
+%{perl_vendorlib}/MIME/
+
+%changelog
+* Tue Aug 07 2007 Dag Wieers <dag at wieers.com> - 5.420-2
+- Disabled auto-requires for examples/.
+
+* Mon Apr 17 2006 Dag Wieers <dag at wieers.com> - 5.420-1
+- Updated to release 5.420.
+
+* Fri Jan 13 2006 Dag Wieers <dag at wieers.com> - 5.419-1
+- Updated to release 5.419.
+
+* Sun Dec 04 2005 Dries Verachtert <dries at ulyssis.org> - 5.418-2
+- Rebuild.
+
+* Sat Nov  5 2005 Dries Verachtert <dries at ulyssis.org> - 5.418-1
+- Updated to release 5.418.
+
+* Thu Mar 10 2005 Dag Wieers <dag at wieers.com> - 5.417-1
+- Updated to release 5.417.
+
+* Mon Dec 20 2004 Dag Wieers <dag at wieers.com> - 5.415-1
+- Updated to release 5.415.
+
+* Sun Jan 26 2003 Dag Wieers <dag at wieers.com>
+- Initial package. (using DAR)

Modified: trunk/rpms/perl-MIME-tools/perl-MIME-tools.spec
===================================================================
--- trunk/rpms/perl-MIME-tools/perl-MIME-tools.spec	2007-11-19 02:02:15 UTC (rev 6001)
+++ trunk/rpms/perl-MIME-tools/perl-MIME-tools.spec	2007-11-19 12:08:51 UTC (rev 6002)
@@ -4,7 +4,6 @@
 # Upstream: David F. Skoll <dfs$roaringpenguin,com>
 # Upstream: Dave O'Neill <dmo$roaringpenguin,com>
 
-
 %{?dtag: %{expand: %%define %dtag 1}}
 
 %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
@@ -26,10 +25,13 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildArch: noarch
-BuildRequires: perl(IO::Stringy) >= 1.211
 BuildRequires: perl-MailTools
 BuildRequires: perl(ExtUtils::MakeMaker)
-Requires: perl(IO::Stringy) >= 1.211, perl-MailTools >= 1.15
+BuildRequires: perl(IO::Stringy) >= 1.211
+BuildRequires: perl(File::Temp) >= 0.17
+Requires: perl-MailTools >= 1.15
+Requires: perl(File::Temp) >= 0.17
+Requires: perl(IO::Stringy) >= 1.211
 %{?rh7:BuildRequires: perl(MIME::Base64) >= 2.04}
 %{?el2:BuildRequires: perl-MIME-Base64 >= 2.04}
 
@@ -70,6 +72,9 @@
 %{perl_vendorlib}/MIME/
 
 %changelog
+* Mon Nov 19 2007 Dag Wieers <dag at wieers.com> - 5.425-2
+- Added dependency to perl(File::Temp) >= 0.17. (Christof Damian)
+
 * Sun Nov 18 2007 Dag Wieers <dag at wieers.com> - 5.425-1
 - Updated to release 5.425.
 




More information about the commits mailing list