libestr/libestr.spec

65 lines
1.5 KiB
RPMSpec

Name: libestr
Version: 0.1.10
Release: 1mamba
Summary: Essentials library for string handling (and a bit more)
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://libestr.adiscon.com/
Source: http://libestr.adiscon.com/files/download/libestr-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
libestr - some essentials for string handling (and a bit more).
%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}/libestr.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/libestr.h
%{_libdir}/libestr.a
%{_libdir}/libestr.la
%{_libdir}/libestr.so
%{_libdir}/pkgconfig/libestr.pc
%doc ChangeLog NEWS README
%changelog
* Fri Mar 06 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.10-1mamba
- package created using the webbuild interface