[9259] | 1 | %global apiversion 0.10 |
---|
| 2 | |
---|
| 3 | Summary: A library for import of WordPerfect documents |
---|
| 4 | Summary(ja): WordPerfect ドキュメントのインポートを行うためのライブラリ |
---|
[521] | 5 | Name: libwpd |
---|
[9259] | 6 | Version: 0.10.0 |
---|
[3151] | 7 | Release: 1%{?_dist_release} |
---|
| 8 | |
---|
[9259] | 9 | License: LGPLv2+ or MPLv2.0 |
---|
[521] | 10 | Group: System Environment/Libraries |
---|
| 11 | URL: http://libwpd.sf.net/ |
---|
| 12 | |
---|
[8721] | 13 | Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz |
---|
[3151] | 14 | |
---|
[521] | 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[9259] | 16 | BuildRequires: cppunit-devel |
---|
| 17 | BuildRequires: doxygen |
---|
| 18 | BuildRequires: help2man |
---|
| 19 | BuildRequires: librevenge-devel |
---|
[8721] | 20 | BuildRequires: zlib-devel |
---|
[521] | 21 | |
---|
| 22 | %description |
---|
[9259] | 23 | libwpd is a library for import of WordPerfect documents. |
---|
[521] | 24 | |
---|
| 25 | %description -l ja |
---|
[9259] | 26 | libwpd は WordPerfect 文書をインポートするためのライブラリです。 |
---|
[521] | 27 | |
---|
[3151] | 28 | %package devel |
---|
| 29 | Summary: Development files for libwpd |
---|
| 30 | Summary(ja): libwpd の開発用ファイル |
---|
| 31 | Group: Development/Libraries |
---|
| 32 | Requires: %{name} = %{version}-%{release} |
---|
| 33 | Requires: pkgconfig |
---|
| 34 | |
---|
| 35 | %description devel |
---|
| 36 | Includes and definitions for developing with libwpd. |
---|
| 37 | |
---|
[521] | 38 | %package tools |
---|
[9259] | 39 | Summary: Tools to transform WordPerfect documents into other formats |
---|
[521] | 40 | Summary(ja): WordPerfect 文書を他のフォーマットに変換するツール |
---|
[9259] | 41 | Requires: %{name} = %{version}-%{release} |
---|
| 42 | Group: Applications/Text |
---|
[521] | 43 | |
---|
| 44 | %description tools |
---|
| 45 | Tools to transform WordPerfect Documents into other formats. |
---|
| 46 | Currently supported: html, raw, text. |
---|
| 47 | |
---|
[9259] | 48 | %package doc |
---|
| 49 | Summary: Documentation of %{name} API |
---|
| 50 | Summary(ja): %{name} API のドキュメント |
---|
| 51 | Group: Documentation |
---|
| 52 | BuildArch: noarch |
---|
| 53 | |
---|
| 54 | %description doc |
---|
| 55 | The %{name}-doc package contains API documentation for %{name}. |
---|
| 56 | |
---|
| 57 | |
---|
[521] | 58 | %prep |
---|
| 59 | %setup -q |
---|
| 60 | |
---|
[9259] | 61 | chmod -x docs/%{name}.dia |
---|
| 62 | |
---|
[521] | 63 | %build |
---|
[9259] | 64 | %configure --disable-static --disable-werror |
---|
| 65 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
---|
| 66 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
---|
| 67 | make %{?_smp_mflags} V=1 |
---|
[521] | 68 | |
---|
[9259] | 69 | export LD_LIBRARY_PATH=`pwd`/src/lib/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} |
---|
| 70 | help2man -N -n 'debug the conversion library' -o wpd2raw.1 ./src/conv/raw/.libs/wpd2raw |
---|
| 71 | help2man -N -n 'convert WordPerfect document into HTML' -o wpd2html.1 ./src/conv/html/.libs/wpd2html |
---|
| 72 | help2man -N -n 'convert WordPerfect document into plain text' -o wpd2text.1 ./src/conv/text/.libs/wpd2text |
---|
| 73 | |
---|
[521] | 74 | %install |
---|
[9259] | 75 | rm -rf $RPM_BUILD_ROOT |
---|
[521] | 76 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
[9259] | 77 | |
---|
[521] | 78 | rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la |
---|
| 79 | |
---|
[9259] | 80 | # we install API docs directly from build |
---|
| 81 | rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name} |
---|
| 82 | install -m 0755 -d %{buildroot}/%{_mandir}/man1 |
---|
| 83 | install -m 0644 wpd2*.1 %{buildroot}/%{_mandir}/man1 |
---|
[3151] | 84 | |
---|
[521] | 85 | %clean |
---|
| 86 | rm -rf $RPM_BUILD_ROOT |
---|
| 87 | |
---|
| 88 | %post -p /sbin/ldconfig |
---|
| 89 | |
---|
| 90 | %postun -p /sbin/ldconfig |
---|
| 91 | |
---|
| 92 | %files |
---|
| 93 | %defattr(-,root,root,-) |
---|
[9259] | 94 | %doc COPYING.LGPL COPYING.MPL CREDITS README |
---|
| 95 | %{_libdir}/%{name}-%{apiversion}.so.* |
---|
[521] | 96 | |
---|
| 97 | %files devel |
---|
| 98 | %defattr(-,root,root,-) |
---|
| 99 | %doc HACKING TODO |
---|
[9259] | 100 | %{_includedir}/%{name}-%{apiversion} |
---|
| 101 | %{_libdir}/%{name}-%{apiversion}.so |
---|
| 102 | %{_libdir}/pkgconfig/%{name}-%{apiversion}.pc |
---|
[521] | 103 | |
---|
[3151] | 104 | %files tools |
---|
| 105 | %defattr(-,root,root,-) |
---|
[9259] | 106 | %{_bindir}/wpd2html |
---|
| 107 | %{_bindir}/wpd2raw |
---|
| 108 | %{_bindir}/wpd2text |
---|
| 109 | %{_mandir}/man1/wpd2html.1* |
---|
| 110 | %{_mandir}/man1/wpd2raw.1* |
---|
| 111 | %{_mandir}/man1/wpd2text.1* |
---|
[3151] | 112 | |
---|
[9259] | 113 | %files doc |
---|
| 114 | %doc COPYING.LGPL COPYING.MPL |
---|
| 115 | %doc docs/doxygen/html |
---|
| 116 | %doc docs/%{name}.dia |
---|
| 117 | %doc docs/%{name}.png |
---|
[3151] | 118 | |
---|
[521] | 119 | %changelog |
---|
[9259] | 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 | |
---|
[8721] | 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 | |
---|
[3151] | 128 | * Sun Mar 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwa.com> 0.9.0-1 |
---|
| 129 | - new upstream release |
---|
| 130 | |
---|
[1901] | 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 | |
---|
[521] | 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 | |
---|
[8721] | 143 | * Tue Mar 27 2007 Caolan McNamara <caolanm@redhat.com> - 0.8.9-2 |
---|
[521] | 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 |
---|