rpms/eventlog/EL-5 eventlog.spec,1.5,1.6

Peter Lemenkov peter at fedoraproject.org
Mon Oct 13 05:24:06 UTC 2008


Author: peter

Update of /cvs/extras/rpms/eventlog/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30393

Modified Files:
	eventlog.spec 
Log Message:
sync with devel branch


Index: eventlog.spec
===================================================================
RCS file: /cvs/extras/rpms/eventlog/EL-5/eventlog.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- eventlog.spec	25 Feb 2007 01:37:38 -0000	1.5
+++ eventlog.spec	13 Oct 2008 05:23:35 -0000	1.6
@@ -1,15 +1,18 @@
 %define libdir /%{_lib}
 
-Name:           eventlog
-Version:        0.2.5
-Release:        4%{?dist}
-Summary:        Syslog-ng v2 support library
-
-Group:          System Environment/Libraries
-License:        BSD
-Url:            http://www.balabit.com/products/syslog-ng/
-Source:         http://www.balabit.com/downloads/syslog-ng/2.0/src/eventlog-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Name: eventlog
+Version: 0.2.7
+Release: 1%{?dist}
+Summary: Syslog-ng v2 support library
+
+Group: System Environment/Libraries
+License: BSD
+Url: http://www.balabit.com/products/syslog-ng/
+Source:  http://www.balabit.com/downloads/files/syslog-ng/sources/2.0/src/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
 
 %description
 The EventLog library aims to be a replacement of the simple syslog() API
@@ -24,9 +27,9 @@
 
 
 %package devel
-Summary:        Syslog-ng v2 support library development files
-Group:          Development/Libraries
-Requires:       %{name} = %{version}-%{release}
+Summary: Syslog-ng v2 support library development files
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
 
 %description devel
 The EventLog library aims to be a replacement of the simple syslog() API
@@ -40,38 +43,33 @@
 This package contains the development files.
 
 
-%package static
-Summary:        Eventlog static library
-Group:          Development/Libraries
-Requires:       %{name}-devel = %{version}-%{release}
-
-%description static
-The eventlog-static package includes the eventlog static library.
-
-
 %prep
 %setup -q
 
+
 %build
 %configure
 make %{?_smp_mflags}
 
+
 %install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+rm -rf %{buildroot}
+make DESTDIR=%{buildroot} install
 
 # we build into /usr/lib,
 # but we want the library (but not the devel stuff) in /lib
-install -d -m 755 $RPM_BUILD_ROOT/%{_lib}
-pushd $RPM_BUILD_ROOT%{_libdir}
-mv libevtlog.so.* ../../%{_lib}
+install -d -m 755 %{buildroot}/%{libdir}
+pushd %{buildroot}%{_libdir}
+mv libevtlog.so.* %{buildroot}/%{libdir}
 ln -sf ../../%{_lib}/libevtlog.so.*.* libevtlog.so
 popd
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/libevtlog.la
+rm -f %{buildroot}%{_libdir}/libevtlog.la
+rm -f %{buildroot}%{_libdir}/libevtlog.a
+
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 
 %post -p /sbin/ldconfig
@@ -82,22 +80,39 @@
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING CREDITS NEWS README
-%{libdir}/libevtlog.so.0
-%{libdir}/libevtlog.so.0.0.0
+%{libdir}/libevtlog.so.*
 
 %files devel
 %defattr(-,root,root,-)
 %doc doc/*
 %{_libdir}/libevtlog.so
 %{_libdir}/pkgconfig/eventlog.pc
-%{_includedir}/%{name}/
-
-%files static
-%defattr(-,root,root,-)
-%{_libdir}/libevtlog.a
+%dir %{_includedir}/%{name}
+%{_includedir}/%{name}
 
 
 %changelog
+* Wed Apr 09 2008 Douglas E. Warner <silfreed at silfreed.net> 0.2.7-1
+- updated to 0.2.7 library
+- removed static library
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.2.5-9
+- Autorebuild for GCC 4.3
+
+* Thu Jun  7 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.2.5-8
+- Fixed URL typo.
+
+* Thu Jun  7 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.2.5-7
+- New upstream download location
+  (https://lists.balabit.hu/pipermail/syslog-ng/2007-May/010258.html)
+
+* Sun Mar 11 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.2.5-6
+- The -devel subpackage now obsoletes the -static subpackage if the
+  latter one is not created.
+
+* Fri Mar  9 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.2.5-5
+- Optional creation of the -static subpackage.
+
 * Sun Feb 25 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.2.5-4
 - Install the dynamic library in /lib.
 
@@ -128,4 +143,3 @@
 * Wed Jan 12 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.2.1-0.fdr.0
 - Initial build (version 0.2.1).
 
-# vim:set ai ts=4 sw=4 sts=4 et:




More information about the scm-commits mailing list