[9261] | 1 | %global apiversion 0.1 |
---|
| 2 | |
---|
| 3 | Name: libodfgen |
---|
| 4 | Version: 0.1.3 |
---|
[10765] | 5 | Release: 3%{?_dist_release} |
---|
[9261] | 6 | Summary: An ODF generator library |
---|
| 7 | Summary(ja): ODF 生成ライブラリ |
---|
| 8 | |
---|
| 9 | License: LGPLv2+ or MPLv2.0 |
---|
| 10 | Group: System Environment/Libraries |
---|
| 11 | URL: https://sourceforge.net/p/libwpd/wiki/libodfgen/ |
---|
| 12 | |
---|
| 13 | Source: http://downloads.sourceforge.net/libwpd/%{name}-%{version}.tar.xz |
---|
| 14 | |
---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 16 | BuildRequires: doxygen |
---|
| 17 | BuildRequires: libboost-devel |
---|
| 18 | BuildRequires: librevenge-devel |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | %{name} is a library for generating ODF documents. It is directly |
---|
| 22 | pluggable into input filters based on librevenge. It is used in |
---|
| 23 | libreoffice or calligra, for example. |
---|
| 24 | |
---|
| 25 | %package devel |
---|
| 26 | Summary: Development files for %{name} |
---|
| 27 | Summary(ja): %{name} の開発用ファイル |
---|
| 28 | Group: Development/Libraries |
---|
| 29 | Requires: %{name} = %{version}-%{release} |
---|
| 30 | |
---|
| 31 | %description devel |
---|
| 32 | The %{name}-devel package contains libraries and header files for |
---|
| 33 | developing applications that use %{name}. |
---|
| 34 | |
---|
| 35 | %package doc |
---|
| 36 | Summary: Documentation of %{name} API |
---|
| 37 | Summary(ja): %{name} API のドキュメント |
---|
| 38 | Group: Documentation |
---|
| 39 | BuildArch: noarch |
---|
| 40 | |
---|
| 41 | %description doc |
---|
| 42 | The %{name}-doc package contains documentation files for %{name}. |
---|
| 43 | |
---|
| 44 | %prep |
---|
| 45 | %setup -q |
---|
| 46 | |
---|
| 47 | %build |
---|
| 48 | %configure --disable-silent-rules --disable-static --disable-werror \ |
---|
| 49 | --enable-test |
---|
| 50 | sed -i \ |
---|
| 51 | -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ |
---|
| 52 | -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \ |
---|
| 53 | libtool |
---|
| 54 | make %{?_smp_mflags} |
---|
| 55 | |
---|
| 56 | %install |
---|
| 57 | make install DESTDIR=%{buildroot} |
---|
| 58 | rm -f %{buildroot}/%{_libdir}/*.la |
---|
| 59 | # we install API docs directly from build |
---|
| 60 | rm -rf %{buildroot}/%{_docdir}/%{name} |
---|
| 61 | |
---|
| 62 | %check |
---|
| 63 | export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} |
---|
| 64 | make %{?_smp_mflags} check |
---|
| 65 | make -C test launch_all |
---|
| 66 | |
---|
| 67 | %post -p /sbin/ldconfig |
---|
| 68 | %postun -p /sbin/ldconfig |
---|
| 69 | |
---|
| 70 | %files |
---|
| 71 | %doc COPYING.* README NEWS |
---|
| 72 | %{_libdir}/%{name}-%{apiversion}.so.* |
---|
| 73 | |
---|
| 74 | %files devel |
---|
| 75 | %doc ChangeLog |
---|
| 76 | %{_includedir}/%{name}-%{apiversion} |
---|
| 77 | %{_libdir}/%{name}-%{apiversion}.so |
---|
| 78 | %{_libdir}/pkgconfig/%{name}-%{apiversion}.pc |
---|
| 79 | |
---|
| 80 | %files doc |
---|
| 81 | %doc COPYING.* |
---|
| 82 | %doc docs/doxygen/html |
---|
| 83 | |
---|
| 84 | %changelog |
---|
[10765] | 85 | * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> - 0.1.3-3 |
---|
| 86 | - rebuild with gcc-5.4.0 |
---|
| 87 | |
---|
[9261] | 88 | * Tue Jan 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.1.3-2 |
---|
| 89 | - Initial build for Vine Linux |
---|
| 90 | |
---|
| 91 | * Fri Jan 02 2015 David Tardon <dtardon@redhat.com> - 0.1.3-1 |
---|
| 92 | - new upstream release |
---|
| 93 | |
---|
| 94 | * Mon Nov 24 2014 David Tardon <dtardon@redhat.com> - 0.1.2-1 |
---|
| 95 | - new upstream release |
---|
| 96 | |
---|
| 97 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3 |
---|
| 98 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
| 99 | |
---|
| 100 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-2 |
---|
| 101 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 102 | |
---|
| 103 | * Tue Jun 03 2014 David Tardon <dtardon@redhat.com> - 0.1.1-1 |
---|
| 104 | - new upstream release |
---|
| 105 | |
---|
| 106 | * Mon May 26 2014 David Tardon <dtardon@redhat.com> - 0.1.0-1 |
---|
| 107 | - new upstream release |
---|
| 108 | |
---|
| 109 | * Fri May 23 2014 David Tardon <dtardon@redhat.com> - 0.0.4-2 |
---|
| 110 | - rebuild for boost 1.55.0 |
---|
| 111 | |
---|
| 112 | * Wed Dec 04 2013 David Tardon <dtardon@redhat.com> - 0.0.4-1 |
---|
| 113 | - new release |
---|
| 114 | |
---|
| 115 | * Tue Dec 03 2013 David Tardon <dtardon@redhat.com> - 0.0.3-2 |
---|
| 116 | - rhbz#1000893 do not pull in unneeded packages |
---|
| 117 | |
---|
| 118 | * Thu Oct 31 2013 David Tardon <dtardon@redhat.com> - 0.0.3-1 |
---|
| 119 | - new release |
---|
| 120 | |
---|
| 121 | * Mon Sep 09 2013 David Tardon <dtardon@redhat.com> - 0.0.2-3 |
---|
| 122 | - do not build in C++11 mode |
---|
| 123 | |
---|
| 124 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.2-2 |
---|
| 125 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
| 126 | |
---|
| 127 | * Wed May 22 2013 David Tardon <dtardon@redhat.com> - 0.0.2-1 |
---|
| 128 | - new release |
---|
| 129 | |
---|
| 130 | * Wed May 08 2013 David Tardon <dtardon@redhat.com> - 0.0.1-1 |
---|
| 131 | - new release |
---|
| 132 | |
---|
| 133 | * Fri May 03 2013 David Tardon <dtardon@redhat.com> - 0.0.0-1 |
---|
| 134 | - initial import |
---|