rpms/podofo/EL-5 podofo.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Dan Horák sharkcz at fedoraproject.org
Sat May 2 06:54:01 UTC 2009


Author: sharkcz

Update of /cvs/pkgs/rpms/podofo/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31622

Modified Files:
	.cvsignore sources 
Added Files:
	podofo.spec 
Log Message:
Initial import


--- NEW FILE podofo.spec ---
Name:           podofo
Version:        0.7.0
Release:        2%{?dist}
Summary:        Tools and libraries to work with the PDF file format

Group:          Applications/Publishing
License:        GPLv2+
URL:            http://podofo.sourceforge.net
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  cmake zlib-devel libjpeg-devel libtiff-devel freetype-devel fontconfig-devel
BuildRequires:  cppunit-devel lua-devel doxygen


%description
PoDoFo is a library to work with the PDF file format. The name comes from
the first letter of PDF (Portable Document Format). A few tools to work
with PDF files are already included in the PoDoFo package.

The PoDoFo library is a free, portable C++ library which includes classes
to parse PDF files and modify their contents into memory. The changes can be
written back to disk easily. The parser can also be used to extract
information from a PDF file (for example the parser could be used in a PDF
viewer). Besides parsing PoDoFo includes also very simple classes to create
your own PDF files. All classes are documented so it is easy to start writing
your own application using PoDoFo.


%package libs
Summary:        Runtime library for %{name}
Group:          System Environment/Libraries
License:        LGPLv2+

%description libs
Runtime library for %{name}.


%package devel
Summary:        Development files for %{name} library
Group:          Development/Libraries
License:        LGPLv2+
Requires:       %{name}-libs = %{version}-%{release}

%description devel
Development files and documentation for the %{name} library.


%prep
%setup -q


%build
%cmake -DPODOFO_BUILD_SHARED=1 \
%ifarch x86_64 ppc64 s390x sparc64
-DWANT_LIB64=1 \
%endif
.
make %{?_smp_mflags}

# build the docs
doxygen


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT

%post libs -p /sbin/ldconfig

%postun libs -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc COPYING
%{_bindir}/%{name}*

%files libs
%defattr(-,root,root,-)
%doc AUTHORS COPYING.LIB ChangeLog FAQ.html README.html TODO
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root,-)
%doc doc/html
%{_includedir}/%{name}
%{_libdir}/*.so


%changelog
* Thu Apr 30 2009 Dan Horák <dan[at]danny.cz> 0.7.0-2
- remove BR: openssl-devel, it could be required in the future (but then
    an exception clause will be added to the licenses)
- add missing doc files

* Sun Mar 29 2009 Dan Horák <dan[at]danny.cz> 0.7.0-1
- initial Fedora package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/podofo/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	1 May 2009 20:52:31 -0000	1.1
+++ .cvsignore	2 May 2009 06:53:31 -0000	1.2
@@ -0,0 +1 @@
+podofo-0.7.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/podofo/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	1 May 2009 20:52:31 -0000	1.1
+++ sources	2 May 2009 06:53:31 -0000	1.2
@@ -0,0 +1 @@
+b9623fd9279fca49f7cdd5c1fed182b1  podofo-0.7.0.tar.gz




More information about the fedora-extras-commits mailing list