From 755c71365b5acea19e6a225c60622b122d7177a9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:26:28 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.4.git20160228-1mamba;Sun Feb 28 2016] --- README.md | 2 ++ rlog.spec | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 rlog.spec diff --git a/README.md b/README.md index 91c3473..cae5ed5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # rlog +A C++ logging library. + diff --git a/rlog.spec b/rlog.spec new file mode 100644 index 0000000..fc48672 --- /dev/null +++ b/rlog.spec @@ -0,0 +1,80 @@ +Name: rlog +Version: 1.4.git20160228 +Release: 1mamba +Summary: A C++ logging library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/vgough/rlog +## GITSOURCE https://github.com/vgough/rlog.git master +Source: https://github.com/vgough/rlog.git/master/rlog-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A C++ logging library. + +%package -n lib%{name} +Group: System/Libraries +Summary: A C++ logging library + +%description -n lib%{name} +A C++ logging library. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q + +%build +autoreconf -f -i +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/librlog.so.* +%doc AUTHORS COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/rlog +%{_includedir}/rlog/*.h +%{_libdir}/librlog.la +%{_libdir}/librlog.so +%{_libdir}/pkgconfig/librlog.pc +%dir %{_docdir}/rlog +%dir %{_docdir}/rlog/html +%{_docdir}/rlog/html/* +%{_docdir}/rlog/refman.pdf +%doc ChangeLog README + + +%changelog +* Sun Feb 28 2016 Silvan Calarco 1.4.git20160228-1mamba +- package created using the webbuild interface