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

Revision 9259, 6.8 KB checked in by inagaki, 9 years ago (diff)

2015-01-13 Ryoichi INAGAKI <ryo1@…>

  • inkscape: rebuilt
  • librevenge: NEW
  • libwpd, libwpg: updated


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