source: projects/specs/trunk/lib/libr/librevenge/librevenge-vl.spec @ 9259

Revision 9259, 3.5 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.0
2
3Name: librevenge
4Version: 0.0.2
5Release: 2%{?_dist_release}
6Summary: A base library for writing document import filters
7Summary(ja): ドキュメントのインポートフィルタを作成するための基礎ライブラリ
8
9# src/lib/RVNGOLEStream.{h,cpp} are BSD
10License: (LGPLv2+ or MPLv2.0) and BSD
11Group: System Environment/Libraries
12URL: http://sourceforge.net/p/libwpd/wiki/librevenge/
13
14Source: http://downloads.sourceforge.net/libwpd/%{name}-%{version}.tar.xz
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17BuildRequires: cppunit-devel
18BuildRequires: doxygen
19BuildRequires: libboost-devel
20BuildRequires: zlib-devel
21
22%description
23%{name} is a base library for writing document import filters. It has
24interfaces for text documents, vector graphics, spreadsheets and
25presentations.
26
27%package devel
28Summary: Development files for %{name}
29Summary(ja): %{name} の開発用ファイル
30Group: Development/Libraries
31Requires: %{name} = %{version}-%{release}
32
33%description devel
34The %{name}-devel package contains libraries and header files for
35developing applications that use %{name}.
36
37%package doc
38Summary: Documentation of %{name} API
39Summary(ja): %{name} API のドキュメント
40Group: Documentation
41BuildArch: noarch
42
43%description doc
44The %{name}-doc package contains documentation files for %{name}.
45
46%prep
47%autosetup -p1
48
49%build
50%configure --disable-silent-rules --disable-static --disable-werror --enable-pretty-printers
51sed -i \
52    -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
53    -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
54    libtool
55make %{?_smp_mflags}
56
57%install
58rm -rf %{buildroot}
59make install DESTDIR=%{buildroot}
60rm -f %{buildroot}/%{_libdir}/*.la
61# we install API docs directly from build
62rm -rf %{buildroot}/%{_docdir}/%{name}
63
64%post -p /sbin/ldconfig
65%postun -p /sbin/ldconfig
66
67#%check
68#export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
69#make %{?_smp_mflags} check
70
71%clean
72rm -rf %{buildroot}
73
74
75%files
76%doc COPYING.* README NEWS
77%{_libdir}/%{name}-%{apiversion}.so.*
78%{_libdir}/%{name}-generators-%{apiversion}.so.*
79%{_libdir}/%{name}-stream-%{apiversion}.so.*
80
81%files devel
82%doc ChangeLog
83%{_includedir}/%{name}-%{apiversion}
84%{_libdir}/%{name}-%{apiversion}.so
85%{_libdir}/%{name}-generators-%{apiversion}.so
86%{_libdir}/%{name}-stream-%{apiversion}.so
87%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
88%{_libdir}/pkgconfig/%{name}-generators-%{apiversion}.pc
89%{_libdir}/pkgconfig/%{name}-stream-%{apiversion}.pc
90%{_datadir}/gdb/auto-load%{_libdir}/%{name}-%{apiversion}.py*
91%{_datadir}/gdb/auto-load%{_libdir}/%{name}-stream-%{apiversion}.py*
92%dir %{_datadir}/%{name}
93%{_datadir}/%{name}/python
94
95%files doc
96%doc COPYING.*
97%doc docs/doxygen/html
98
99%changelog
100* Tue Jan 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.0.2-2
101- Initial build for Vine Linux
102
103* Wed Dec 24 2014 David Tardon <dtardon@redhat.com> - 0.0.2-1
104- new upstream release
105
106* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-3
107- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
108
109* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-2
110- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
111
112* Tue Jun 03 2014 David Tardon <dtardon@redhat.com> - 0.0.1-1
113- new upstream release
114
115* Tue May 27 2014 David Tardon <dtardon@redhat.com> - 0.0.0-2
116- remove extra dirs from filelist
117
118* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 0.0.0-1
119- initial import
Note: See TracBrowser for help on using the repository browser.