From 9555144674dcb5f8a83d7201cc1cdf676a6ba283 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:11:39 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.1.10-1mamba;Fri Mar 06 2015] --- README.md | 2 ++ libestr.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 libestr.spec diff --git a/README.md b/README.md index fabd101..769294b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libestr +libestr - some essentials for string handling (and a bit more). + diff --git a/libestr.spec b/libestr.spec new file mode 100644 index 0000000..cb24727 --- /dev/null +++ b/libestr.spec @@ -0,0 +1,64 @@ +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 +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 0.1.10-1mamba +- package created using the webbuild interface