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

Revision 10511, 3.7 KB checked in by tomop, 8 years ago (diff)

librevenge-0.0.4-2

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