source: projects/specs/trunk/lib/libw/libwpd/libwpd-vl.spec @ 10514

Revision 10514, 7.0 KB checked in by tomop, 6 years ago (diff)

libwpd-0.10.1-1

Line 
1%global apiversion 0.10
2
3Summary: A library for import of WordPerfect documents
4Summary(ja): WordPerfect ドキュメントのインポートを行うためのライブラリ
5Name: libwpd
6Version: 0.10.1
7Release: 1%{?_dist_release}
8
9License: LGPLv2+ or MPLv2.0
10Group: System Environment/Libraries
11URL: http://libwpd.sf.net/
12
13Vendor: Project Vine
14Distribution: Vine Linux
15
16Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
17
18BuildRoot: %{_tmppath}/%{name}-%{version}-root
19BuildRequires: cppunit-devel
20BuildRequires: doxygen
21BuildRequires: help2man
22BuildRequires: librevenge-devel
23BuildRequires: zlib-devel
24
25%description
26libwpd is a library for import of WordPerfect documents.
27
28%description -l ja
29libwpd は WordPerfect 文書をインポートするためのライブラリです。
30
31%package devel
32Summary: Development files for libwpd
33Summary(ja): libwpd の開発用ファイル
34Group: Development/Libraries
35Requires: %{name} = %{version}-%{release}
36Requires: pkgconfig
37
38%description devel
39Includes and definitions for developing with libwpd.
40
41%package tools
42Summary: Tools to transform WordPerfect documents into other formats
43Summary(ja): WordPerfect 文書を他のフォーマットに変換するツール
44Requires: %{name} = %{version}-%{release}
45Group: Applications/Text
46
47%description tools
48Tools to transform WordPerfect Documents into other formats.
49Currently supported: html, raw, text.
50
51%package doc
52Summary: Documentation of %{name} API
53Summary(ja): %{name} API のドキュメント
54Group: Documentation
55BuildArch: noarch
56
57%description doc
58The %{name}-doc package contains API documentation for %{name}.
59
60
61%prep
62%setup -q
63
64chmod -x docs/%{name}.dia
65
66%build
67%configure --disable-static --disable-werror
68sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
69sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
70make %{?_smp_mflags} V=1
71
72export LD_LIBRARY_PATH=`pwd`/src/lib/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
73help2man -N -n 'debug the conversion library' -o wpd2raw.1 ./src/conv/raw/.libs/wpd2raw
74help2man -N -n 'convert WordPerfect document into HTML' -o wpd2html.1 ./src/conv/html/.libs/wpd2html
75help2man -N -n 'convert WordPerfect document into plain text' -o wpd2text.1 ./src/conv/text/.libs/wpd2text
76
77%install
78rm -rf $RPM_BUILD_ROOT
79make DESTDIR=$RPM_BUILD_ROOT install
80
81rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
82
83# we install API docs directly from build
84rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}
85install -m 0755 -d %{buildroot}/%{_mandir}/man1
86install -m 0644 wpd2*.1 %{buildroot}/%{_mandir}/man1
87
88%clean
89rm -rf $RPM_BUILD_ROOT
90
91%post -p /sbin/ldconfig
92
93%postun -p /sbin/ldconfig
94
95%files
96%defattr(-,root,root,-)
97%doc COPYING.LGPL COPYING.MPL CREDITS README
98%{_libdir}/%{name}-%{apiversion}.so.*
99
100%files devel
101%defattr(-,root,root,-)
102%doc HACKING TODO
103%{_includedir}/%{name}-%{apiversion}
104%{_libdir}/%{name}-%{apiversion}.so
105%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
106
107%files tools
108%defattr(-,root,root,-)
109%{_bindir}/wpd2html
110%{_bindir}/wpd2raw
111%{_bindir}/wpd2text
112%{_mandir}/man1/wpd2html.1*
113%{_mandir}/man1/wpd2raw.1*
114%{_mandir}/man1/wpd2text.1*
115
116%files doc
117%doc COPYING.LGPL COPYING.MPL
118%doc docs/doxygen/html
119%doc docs/%{name}.dia
120%doc docs/%{name}.png
121
122%changelog
123* Sat Jul  2 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.10.1-1
124- new upstream release.
125
126* Tue Jan 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.10.0-1
127- new upstream release
128- split documents to doc subpackage
129
130* Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.9-1
131- new upstream release
132- add BuildRequires: zlib-devel
133
134* Sun Mar 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwa.com> 0.9.0-1
135- new upstream release
136
137* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.14-3
138- rebuild with rpm-4.8.1 for pkg-config file
139
140* Fri Jul  3 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.8.14-2
141- spec in UTF-8
142
143* Mon May 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwa.com> 0.8.14-1
144- new upstream release
145
146* Sat May 19 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.9-0vl1
147- initial build for Vine Linux
148
149* Tue Mar 27 2007 Caolan McNamara <caolanm@redhat.com> - 0.8.9-2
150- Resolves: rhbz#233876: add unowned directory fix from Michael Schwendt
151
152* Fri Mar 16 2007 Caolan McNamara <caolanm@redhat.com> - 0.8.9-1
153- next version
154
155* Fri Feb 09 2007 Caolan McNamara <caolanm@redhat.com> - 0.8.8-2
156- spec cleanups
157
158* Thu Jan 11 2007 Caolan McNamara <caolanm@redhat.com> - 0.8.8-1
159- next version
160
161* Mon Oct 09 2006 Caolan McNamara <caolanm@redhat.com> - 0.8.7-1
162- next version
163
164* Mon Jul 17 2006 Caolan McNamara <caolanm@redhat.com> - 0.8.6-1
165- next version
166
167* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.8.5-3.1
168- rebuild
169
170* Sun Jun 11 2006  Caolan McNamara <caolanm@redhat.com> 0.8.5-3
171- add wp5nofontlistcrash
172
173* Fri Jun 02 2006  Caolan McNamara <caolanm@redhat.com> 0.8.5-2
174- build through brew
175
176* Thu Jun 01 2006  Caolan McNamara <caolanm@redhat.com> 0.8.5-1
177- next version
178
179* Tue Mar 21 2006  Caolan McNamara <caolanm@redhat.com> 0.8.4-2
180- rebuild for libgsf
181
182* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.8.4-1.2.1
183- bump again for double-long bug on ppc(64)
184
185* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.8.4-1.2
186- rebuilt for new gcc4.1 snapshot and glibc changes
187
188* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> 0.8.4-1.1
189- rebuilt
190
191* Fri Dec 02 2005 Caolan McNamara <caolanm@redhat.com> 0.8.4-1
192- next version
193
194* Fri Dec 02 2005 Caolan McNamara <caolanm@redhat.com> 0.8.3-2
195- rebuild because of libgsf
196
197* Tue Jun 28 2005 Caolan McNamara <caolanm@redhat.com> 0.8.3-1
198- update to latest libwpd
199
200* Tue Jun 28 2005 Caolan McNamara <caolanm@redhat.com> 0.8.2-2.fc5
201- export to other formats twiddle
202
203* Wed Jun 22 2005 Caolan McNamara <caolanm@redhat.com> 0.8.2-1
204- bump to latest version
205
206* Fri Apr 29 2005 Caolan McNamara <caolanm@redhat.com> 0.8.1-1
207- bump to latest version kudos Fridrich Strba
208- drop integrated patch
209
210* Wed Apr  6 2005 Caolan McNamara <caolanm@redhat.com> 0.8.0-4
211- add libwpd devel provided patch for endless loops on some wpd documents
212
213* Wed Mar 30 2005 Caolan McNamara <caolanm@redhat.com> 0.8.0-3
214- rh#152503# add some Requires for -devel package
215
216* Wed Mar  2 2005 Caolan McNamara <caolanm@redhat.com> 0.8.0-2
217- rebuild with gcc4
218
219* Fri Feb 11 2005 Caolan McNamara <caolanm@redhat.com> 0.8.0-1
220- new version
221
222* Wed Feb 9 2005 Caolan McNamara <caolanm@redhat.com> 0.7.2-2
223- rebuild
224
225* Fri Jul 23 2004 Caolan McNamara <caolanm@redhat.com> 0.7.2-1
226- bump to 0.7.2
227
228* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
229- rebuilt
230
231* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
232- rebuilt
233
234* Thu Feb 19 2004 Jeremy Katz <katzj@redhat.com> - 0.7.1-1
235- update to 0.7.1
236
237* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
238- rebuilt
239
240* Tue Dec 16 2003 Jeremy Katz <katzj@redhat.com> 0.6.6-1
241- 0.6.6
242
243* Tue Nov  4 2003 Jeremy Katz <katzj@redhat.com> 0.6.5-1
244- 0.6.5
245
246* Mon Sep 15 2003 Jeremy Katz <katzj@redhat.com> 0.6.2-1
247- 0.6.2
248
249* Sun Jul  6 2003 Jeremy Katz <katzj@redhat.com> 0.5.0-1
250- initial build for Red Hat Linux, tweak accordingly
251
252* Sat Apr 26 2003 Rui M. Seabra <rms@1407.org>
253- Create rpm spec
Note: See TracBrowser for help on using the repository browser.