package created using the webbuild interface [release 0.0.1-1mamba;Sun Jun 15 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 05:42:49 +01:00
parent 671d530435
commit 262b30a8da
2 changed files with 88 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# librevenge # librevenge
librevenge is a base library for writing document import filters. It has
interfaces for text documents, vector graphics, spreadsheets and presentations.

85
librevenge.spec Normal file
View File

@ -0,0 +1,85 @@
Name: librevenge
Version: 0.0.1
Release: 1mamba
Summary: A base library for writing document import filters
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sourceforge.net/p/libwpd/wiki/librevenge/
Source: http://downloads.sourceforge.net/project/libwpd/librevenge/librevenge-%{version}/librevenge-%{version}.tar.xz
License: LGPL, MPL 1.1
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libcppunit-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
librevenge is a base library for writing document import filters. It has
interfaces for text documents, vector graphics, spreadsheets and presentations.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/librevenge-0.0.so.*
%{_libdir}/librevenge-generators-0.0.so.*
%{_libdir}/librevenge-stream-0.0.so.*
%doc AUTHORS
%files devel
%defattr(-,root,root)
%dir %{_includedir}/librevenge-0.0
%dir %{_includedir}/librevenge-0.0/librevenge-generators
%{_includedir}/librevenge-0.0/librevenge-generators/*.h
%dir %{_includedir}/librevenge-0.0/librevenge-stream
%{_includedir}/librevenge-0.0/librevenge-stream/*.h
%dir %{_includedir}/librevenge-0.0/librevenge
%{_includedir}/librevenge-0.0/librevenge/*.h
%{_libdir}/librevenge-0.0.la
%{_libdir}/librevenge-0.0.so
%{_libdir}/librevenge-generators-0.0.la
%{_libdir}/librevenge-generators-0.0.so
%{_libdir}/librevenge-stream-0.0.la
%{_libdir}/librevenge-stream-0.0.so
%{_libdir}/pkgconfig/librevenge-0.0.pc
%{_libdir}/pkgconfig/librevenge-generators-0.0.pc
%{_libdir}/pkgconfig/librevenge-stream-0.0.pc
%dir %{_datadir}/doc/librevenge
%dir %{_datadir}/doc/librevenge/html
%{_datadir}/doc/librevenge/html/*
%doc ChangeLog NEWS README
%changelog
* Sun Jun 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.1-1mamba
- package created using the webbuild interface