libepubgen/libepubgen.spec

72 lines
1.9 KiB
RPMSpec
Raw Normal View History

Name: libepubgen
Version: 0.1.0
Release: 1mamba
Summary: A library for generating documents in EPUB format
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://sourceforge.net/projects/libepubgen/
Source: https://netix.dl.sourceforge.net/project/libepubgen/libepubgen-%{version}/libepubgen-%{version}.tar.xz
License: MPL 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: librevenge-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
libepubgen is a library for generating documents in EPUB format.
%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}/libepubgen-0.1.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libepubgen-0.1
%dir %{_includedir}/libepubgen-0.1/libepubgen
%{_includedir}/libepubgen-0.1/libepubgen/*.h
%{_libdir}/libepubgen-0.1.la
%{_libdir}/libepubgen-0.1.so
%{_libdir}/pkgconfig/libepubgen-0.1.pc
%dir %{_datadir}/doc/libepubgen
%dir %{_datadir}/doc/libepubgen/html
%{_datadir}/doc/libepubgen/html/*
%doc ChangeLog NEWS README TODO
%changelog
* Wed Mar 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.0-1mamba
- package created using the webbuild interface