Search
j0ke.net Open Build Service
>
Projects
>
internetx
>
eventlog
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
eventlog.spec
@@ -1,18 +1,25 @@ +%define lib libevtlog +%define soname 0 +%define libname %{lib}%{soname} +%define pkgname eventlog + %define libdir /%{_lib} -Name: eventlog +Name: %{libname} Version: 0.2.7 -Release: 1%{?dist} +Release: 1 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 +Source: http://www.balabit.com/downloads/files/syslog-ng/sources/2.0/src/%{pkgname}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig +Obsoletes: %{pkgname} +Provides: %{pkgname} = %{version} %description The EventLog library aims to be a replacement of the simple syslog() API @@ -26,12 +33,14 @@ This package is the runtime part of the library. -%package devel +%package -n %{lib}-devel Summary: Syslog-ng v2 support library development files Group: Development/Libraries Requires: %{name} = %{version}-%{release} +Obsoletes: %{pkgname}-devel +Provides: %{pkgname}-devel = %{version} -%description devel +%description -n %{lib}-devel The EventLog library aims to be a replacement of the simple syslog() API provided on UNIX systems. The major difference between EventLog and syslog is that EventLog tries to add structure to messages. @@ -44,17 +53,17 @@ %prep -%setup -q +%setup -q -n %{pkgname}-%{version} %build %configure -make %{?_smp_mflags} +%__make %{?_smp_mflags} %install rm -rf %{buildroot} -make DESTDIR=%{buildroot} install +%__make DESTDIR=%{buildroot} install-strip # we build into /usr/lib, # but we want the library (but not the devel stuff) in /lib @@ -82,13 +91,13 @@ %doc AUTHORS ChangeLog COPYING CREDITS NEWS README %{libdir}/libevtlog.so.* -%files devel +%files -n %{lib}-devel %defattr(-,root,root,-) %doc doc/* %{_libdir}/libevtlog.so %{_libdir}/pkgconfig/eventlog.pc -%dir %{_includedir}/%{name} -%{_includedir}/%{name} +%dir %{_includedir}/%{pkgname} +%{_includedir}/%{pkgname} %changelog
Renamed
eventlog-0.2.7.tar.bz2
^