rlog/rlog.spec

81 lines
1.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: rlog
Version: 1.4.git20160228
Release: 1mamba
Summary: A C++ logging library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.4.git20160228-1mamba
- package created using the webbuild interface