2024-01-06 05:15:45 +01:00
|
|
|
%define apiver %(echo %version | cut -d. -f1-2)
|
2024-01-06 05:15:45 +01:00
|
|
|
Name: libodfgen
|
2024-01-06 05:15:46 +01:00
|
|
|
Version: 0.1.6
|
2024-01-06 05:15:45 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 05:15:45 +01:00
|
|
|
Summary: A library to generate OpenDocument documents
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://sourceforge.net/projects/libwpd
|
|
|
|
Source: http://downloads.sourceforge.net/project/libwpd/libodfgen/libodfgen-%{version}/libodfgen-%{version}.tar.xz
|
|
|
|
License: LGPL, MPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libwpd-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libetonyek-devel
|
2024-01-06 05:15:45 +01:00
|
|
|
BuildRequires: libwpd-devel >= 0.10
|
2024-01-06 05:15:45 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
A library to generate OpenDocument documents.
|
|
|
|
|
|
|
|
%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}.
|
|
|
|
|
|
|
|
%package apidocs
|
|
|
|
Group: Documentation
|
|
|
|
Summary: %{name} API documentation
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: gtk-doc
|
|
|
|
|
|
|
|
%description apidocs
|
|
|
|
This package includes the %{name} API documentation.
|
|
|
|
|
|
|
|
%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)
|
2024-01-06 05:15:45 +01:00
|
|
|
%{_libdir}/libodfgen-%{apiver}.so.*
|
2024-01-06 05:15:45 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:15:45 +01:00
|
|
|
%dir %{_includedir}/libodfgen-%{apiver}
|
|
|
|
%dir %{_includedir}/libodfgen-%{apiver}/libodfgen
|
|
|
|
%{_includedir}/libodfgen-%{apiver}/libodfgen/*.hxx
|
|
|
|
%{_libdir}/libodfgen-%{apiver}.la
|
|
|
|
%{_libdir}/libodfgen-%{apiver}.so
|
|
|
|
%{_libdir}/pkgconfig/libodfgen-%{apiver}.pc
|
2024-01-06 05:15:45 +01:00
|
|
|
%doc ChangeLog README
|
|
|
|
|
|
|
|
%files apidocs
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_datadir}/doc/libodfgen
|
|
|
|
%{_datadir}/doc/libodfgen/*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:15:46 +01:00
|
|
|
* Thu Dec 31 2015 Automatic Build System <autodist@mambasoft.it> 0.1.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:15:46 +01:00
|
|
|
* Sun May 24 2015 Automatic Build System <autodist@mambasoft.it> 0.1.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:15:45 +01:00
|
|
|
* Fri Jan 02 2015 Automatic Build System <autodist@mambasoft.it> 0.1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:15:45 +01:00
|
|
|
* Tue Nov 25 2014 Automatic Build System <autodist@mambasoft.it> 0.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:15:45 +01:00
|
|
|
* Sat Jul 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-2mamba
|
|
|
|
- rebuilt with libwpd 0.10
|
|
|
|
|
|
|
|
* Tue Jun 17 2014 Automatic Build System <autodist@mambasoft.it> 0.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:15:45 +01:00
|
|
|
* Wed Feb 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.4-1mamba
|
|
|
|
- update to 0.0.4
|
|
|
|
|
|
|
|
* Sat Jul 27 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.0-1mamba
|
|
|
|
- package created by silvan using the webbuild interface
|