4
%define release %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
7
Summary: Library for importing and converting Microsoft Publisher Documents
10
Source: %{name}-%{version}.tar.gz
11
Group: System Environment/Libraries
12
URL: http://libmspub.sf.net/
13
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
14
BuildRequires: libwpd-devel >= 0.9.0, gcc-c++, libstdc++-devel, pkgconfig >= 0.9.0
19
libmspub is a library for reading and converting MSPUB images
23
Summary: Tools to convert MSPUB images into other formats
24
Group: Applications/Publishing
27
Tools to convert MSPUB images into other formats.
28
Currently supported: raw svg
31
Requires: %{name} >= %{version}
32
Requires: libwpd-devel >= 0.9.0
33
Summary: Files for developing with libmspub.
34
Group: Development/Libraries
37
Includes and definitions for developing with libmspub.
39
%if %{!?_without_docs:1}%{?_without_docs:0}
41
Requires: %{name} >= %{version}
42
BuildRequires: doxygen
43
Summary: Documentation of libmspub API
44
Group: Development/Documentation
47
Documentation of libmspub API for developing with libmspub
51
%__rm -rf $RPM_BUILD_ROOT
53
%setup -q -n %{name}-%{version}
56
%configure --prefix=%{_prefix} --libdir=%{_libdir} \
57
%{?_with_debug:--enable-debug} \
64
%__make DESTDIR=$RPM_BUILD_ROOT install
65
%__rm -rf $RPM_BUILD_ROOT/%{_libdir}/libmspub*.la
68
%__rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/file.list.%{name}
71
%defattr(644,root,root,755)
72
%{_libdir}/libmspub*.so.*
73
%doc ChangeLog README COPYING AUTHORS
76
%defattr(755,root,root,755)
80
%defattr(644,root,root,755)
81
%{_libdir}/libmspub*.so
82
%{_libdir}/pkgconfig/libmspub*.pc
83
%{_includedir}/libmspub-0.0/libmspub
85
%if %{!?_without_docs:1}%{?_without_docs:0}
91
* Fri Apr 20 2007 Fridrich Strba <fridrich.strba@bluewin.ch>
92
- Add documentation packaging
93
- Make doc and stream optional
95
* Tue Jan 27 2004 Fridrich Strba <fridrich.strba@bluewin.ch>
96
- Create rpm spec according to the rpm spec of libwpD