Browse Source

new: librelp for Fedora spec: 1.0.0-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2561 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 13 years ago
parent
commit
5507bd7865
1 changed files with 77 additions and 0 deletions
  1. 77 0
      lib/libr/librelp/librelp-vl.spec

+ 77 - 0
lib/libr/librelp/librelp-vl.spec

@@ -0,0 +1,77 @@
+Summary: The Reliable Event Logging Protocol library
+Name: librelp
+Version: 1.0.0
+Release: 1%{?dist}
+License: GPLv3+
+Group: System Environment/Libraries
+URL: http://www.rsyslog.com/
+Source0: http://download.rsyslog.com/librelp/%{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%description
+Librelp is an easy to use library for the RELP protocol. RELP (stands
+for Reliable Event Logging Protocol) is a general-purpose, extensible
+logging protocol.
+
+%package devel
+Summary: Development files for the %{name} package
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig
+
+%description devel
+Librelp is an easy to use library for the RELP protocol. The
+librelp-devel package contains the header files and libraries needed
+to develop applications using librelp.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+rm $RPM_BUILD_ROOT/%{_libdir}/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+
+%postun
+if [ "$1" = "0" ] ; then
+    /sbin/ldconfig
+fi
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING NEWS README doc/*html
+%{_libdir}/librelp.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/*
+%{_libdir}/librelp.so
+%{_libdir}/pkgconfig/relp.pc
+
+%changelog
+* Thu Jul 15 2010 Tomas Heinrich <theinric@redhat.com> - 1.0.0-1
+- upgrade to upstream version 1.0.0
+
+* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Wed May  7 2008 Tomas Heinrich <theinric@redhat.com> 0.1.1-2
+- removed "BuildRequires: autoconf automake"
+
+* Tue Apr 29 2008 Tomas Heinrich <theinric@redhat.com> 0.1.1-1
+- initial build