source: projects/specs/trunk/p/podofo/podofo-vl.spec @ 8950

Revision 8950, 3.8 KB checked in by kudoh, 10 years ago (diff)

rebuilt

Line 
1Name:           podofo
2Version:        0.9.1
3Release:        2%{?_dist_release}
4Summary:        Tools and libraries to work with the PDF file format
5
6Group:          Applications/Publishing
7License:        GPLv2+
8URL:            http://podofo.sourceforge.net
9Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
10Patch0:         %{name}-0.9.1-unistd.patch
11Patch1:         %{name}-0.9.1-freetype.patch
12BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
13
14BuildRequires:  cmake
15BuildRequires:  zlib-devel
16BuildRequires:  libjpeg-turbo-devel
17BuildRequires:  libtiff-devel
18BuildRequires:  libpng-devel
19BuildRequires:  freetype2-devel
20BuildRequires:  fontconfig-devel
21BuildRequires:  cppunit-devel
22BuildRequires:  lua-devel
23BuildRequires:  doxygen
24
25
26%description
27PoDoFo is a library to work with the PDF file format. The name comes from
28the first letter of PDF (Portable Document Format). A few tools to work
29with PDF files are already included in the PoDoFo package.
30
31The PoDoFo library is a free, portable C++ library which includes classes
32to parse PDF files and modify their contents into memory. The changes can be
33written back to disk easily. The parser can also be used to extract
34information from a PDF file (for example the parser could be used in a PDF
35viewer). Besides parsing PoDoFo includes also very simple classes to create
36your own PDF files. All classes are documented so it is easy to start writing
37your own application using PoDoFo.
38
39
40%package libs
41Summary:        Runtime library for %{name}
42Group:          System Environment/Libraries
43License:        LGPLv2+
44
45%description libs
46Runtime library for %{name}.
47
48
49%package devel
50Summary:        Development files for %{name} library
51Group:          Development/Libraries
52License:        LGPLv2+
53Requires:       %{name}-libs = %{version}-%{release}
54
55%description devel
56Development files and documentation for the %{name} library.
57
58
59%prep
60%setup -q
61%patch0 -p1 -b .unistd
62%patch1 -p1 -b .freetype
63
64
65%build
66%cmake -DPODOFO_BUILD_SHARED=1 \
67%ifarch x86_64 ppc64 s390x sparc64
68-DWANT_LIB64=1 \
69%endif
70.
71%__make %{?_smp_mflags}
72
73# build the docs
74doxygen
75
76# set timestamps on generated files to some constant
77find doc/html -exec touch -r %{SOURCE0} {} \;
78
79
80%install
81%__rm -rf $RPM_BUILD_ROOT
82%__make install DESTDIR=$RPM_BUILD_ROOT
83
84
85%clean
86%__rm -rf $RPM_BUILD_ROOT
87
88%post libs -p /sbin/ldconfig
89
90%postun libs -p /sbin/ldconfig
91
92
93%files
94%defattr(-,root,root,-)
95%doc COPYING
96%{_bindir}/%{name}*
97%{_mandir}/man1/%{name}*.1*
98
99%files libs
100%defattr(-,root,root,-)
101%doc AUTHORS COPYING.LIB ChangeLog FAQ.html README.html TODO
102%{_libdir}/*.so.*
103
104%files devel
105%defattr(-,root,root,-)
106%doc doc/html
107%{_includedir}/%{name}
108%{_libdir}/*.so
109
110
111%changelog
112* Sat Sep 13 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.1-2
113- rebuilt with libpng-1.6.12
114- changed BuildRequires: libjpeg-devel to libjpeg-turbo-devel
115- added Patch1 from Fedora rawhide
116
117* Sun Mar 11 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.1-1
118- updated to 0.9.1
119
120* Tue Aug 24 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.8.1-1
121- initial build based on Fedora development
122
123* Tue Jun  8 2010 Dan Horák <dan[at]danny.cz> 0.8.1-2
124- fix building tests
125
126* Mon Jun  7 2010 Dan Horák <dan[at]danny.cz> 0.8.1-1
127- updated to 0.8.1
128
129* Thu Apr 29 2010 Dan Horák <dan[at]danny.cz> 0.8.0-1
130- updated to 0.8.0
131
132* Tue Feb 16 2010 Dan Horák <dan[at]danny.cz> 0.7.0-4
133- set timestamp on generated docs (#565683)
134
135* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-3
136- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
137
138* Thu Apr 30 2009 Dan Horák <dan[at]danny.cz> 0.7.0-2
139- remove BR: openssl-devel, it could be required in the future (but then
140    an exception clause will be added to the licenses)
141- add missing doc files
142
143* Sun Mar 29 2009 Dan Horák <dan[at]danny.cz> 0.7.0-1
144- initial Fedora package
Note: See TracBrowser for help on using the repository browser.