rpms/openoffice.org-extendedPDF/devel openoffice.org-extendedPDF.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Orion Poplawski (orion) fedora-extras-commits at redhat.com
Mon Apr 14 17:11:58 UTC 2008


Author: orion

Update of /cvs/pkgs/rpms/openoffice.org-extendedPDF/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10051/devel

Modified Files:
	.cvsignore sources 
Added Files:
	openoffice.org-extendedPDF.spec 
Log Message:
Initial import


--- NEW FILE openoffice.org-extendedPDF.spec ---
%define extname extendedPDF.zip

Name:           openoffice.org-extendedPDF
Version:        1.4
Release:        4%{?dist}
Summary:        Create PDF with hyperlinks, bookmarks and more

Group:          Applications/Productivity
License:        GPLv2+
URL:            http://www.3bview.com/epdf-home.html
# This is a modified version of http://www.3bview.com/downloads/extendedPDF-Universal-Edition-1.4.0.zip made by:
# unzip extendedPDF-Universal-Edition-1.4.0.zip
# rm extendedPDF-Universal-Edition/itext.jar
# zip extendedPDF-Universal-Edition-1.4.0-CLEAN.zip -r extendedPDF-Universal-Edition
Source0:        extendedPDF-Universal-Edition-1.4.0-CLEAN.zip
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
Requires(pre):    openoffice.org-core
Requires(post):   openoffice.org-core
Requires(preun):  openoffice.org-core
Requires(postun): openoffice.org-core


%description
Create PDF with hyperlinks, bookmarks and more.

You can make your documents much easier to read by making use of PDF's
navigation features.

PDF Bookmarks provide a tree structure allowing you to jump to any part of
the document with ease. extendedPDF allows you to create these PDF bookmarks
directly from your existing document styles, with total flexibility. No extra
work for you and a much better experience for your readers!

extendedPDF also converts hyperlinks to PDF hyperlinks, so that links work
the same in your OpenOffice.org document and your PDF document.

Allow reviewers to read and add to the notes that you made on the
OpenOffice.org original! extendedPDF can convert OpenOffice.org Notes to PDF
Note Annotations. These can be read in both Acrobat Reader and Acrobat, and
can be edited in Acrobat. 


%prep
%setup -q -n extendedPDF-Universal-Edition
tr -d '\r' < COPYING.txt > COPYING.txt.unix
touch -r COPYING.txt COPYING.txt.unix
mv COPYING.txt.unix COPYING.txt


%build


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_datadir}/openoffice.org/extensions/%{extname}
unzip %{extname} -d $RPM_BUILD_ROOT%{_datadir}/openoffice.org/extensions/%{extname}
#Is empty
rm $RPM_BUILD_ROOT%{_datadir}/openoffice.org/extensions/%{extname}/mimetype


%clean
rm -rf $RPM_BUILD_ROOT


%pre
if [ $1 -gt 1 ]; then
    # Upgrade => deregister old extension
    unopkg remove --shared org.openoffice.legacy.%{extname} || :
fi

%post
    # register extension
    unopkg add --shared --link %{_datadir}/openoffice.org/extensions/%{extname} || :

%preun
if [ $1 -eq 0 ]; then
    # not upgrading => deregister
    unopkg remove --shared org.openoffice.legacy.%{extname} || :
fi

%postun
# clear disk cache
unopkg list --shared > /dev/null 2>&1 || :


%files
%defattr(-,root,root,-)
%doc COPYING.txt extendedPDF-User-Guide.*
%{_datadir}/openoffice.org/extensions/%{extname}


%changelog
* Mon Apr 14 2008 Caolan McNamara <caolanm at redhat.com> 1.4-4
- adapt to final guidelines

* Fri Mar 14 2008 Orion Poplawski <orion at cora.nwra.com> 1.4-3
- Remove itext.jar from source

* Thu Mar 13 2008 Orion Poplawski <orion at cora.nwra.com> 1.4-2
- Drop -env arg to unopkg
- Change license to GPLv2+

* Thu Mar 6 2008 Orion Poplawski <orion at cora.nwra.com> 1.4-1
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/openoffice.org-extendedPDF/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 Apr 2008 16:26:23 -0000	1.1
+++ .cvsignore	14 Apr 2008 17:11:22 -0000	1.2
@@ -0,0 +1 @@
+extendedPDF-Universal-Edition-1.4.0-CLEAN.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/openoffice.org-extendedPDF/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 Apr 2008 16:26:23 -0000	1.1
+++ sources	14 Apr 2008 17:11:22 -0000	1.2
@@ -0,0 +1 @@
+ea1f63a521c40c562e4163397c69e8d3  extendedPDF-Universal-Edition-1.4.0-CLEAN.zip




More information about the fedora-extras-commits mailing list