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