rpms/libservicelog/devel libservicelog-1.0.1-install.patch, NONE, 1.1 libservicelog.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Roman Rakus rrakus at fedoraproject.org
Wed Mar 11 14:45:13 UTC 2009


Author: rrakus

Update of /cvs/extras/rpms/libservicelog/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5986

Modified Files:
	.cvsignore sources 
Added Files:
	libservicelog-1.0.1-install.patch libservicelog.spec 
Log Message:
Initial packaging

libservicelog-1.0.1-install.patch:

--- NEW FILE libservicelog-1.0.1-install.patch ---
diff -up libservicelog-1.0.1/Makefile.am.install libservicelog-1.0.1/Makefile.am
--- libservicelog-1.0.1/Makefile.am.install	2009-02-20 12:17:23.000000000 -0500
+++ libservicelog-1.0.1/Makefile.am	2009-02-20 12:17:50.000000000 -0500
@@ -19,5 +19,5 @@ library_includedir = ${includedir}/servi
 library_include_HEADERS = servicelog-1/servicelog.h
 
 install-exec-hook:
-	install -D --mode=754 --group=service servicelog.db \
+	install -D --mode=754 servicelog.db \
 		${DESTDIR}/var/lib/servicelog/servicelog.db


--- NEW FILE libservicelog.spec ---
Name:           libservicelog
Version:        1.0.1
Release:        1%{?dist}
Summary:        Servicelog Database and Library

Group:          System Environment/Libraries
License:        LGPLv2
URL:            http://linux-diag.sourceforge.net/servicelog
Source0:        http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Requires(pre):       shadow-utils

BuildRequires:  sqlite-devel autoconf libtool

Patch0: libservicelog-1.0.1-install.patch

%description
The libservicelog package contains a library to create and maintain a
database for storing events related to system service.  This database
allows for the logging of serviceable and informational events, and for
the logging of service procedures that have been performed upon the system.


%package        devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       pkgconfig

%description    devel
Contains header files for building with libservicelog.


%prep
%setup -q
%patch0 -p1 -b .install


%build
autoreconf -fiv
%configure --disable-static
%{__make} %{?_smp_mflags}


%install
%{__rm} -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT
%{__rm} -f %{buildroot}%{_libdir}/*.la


%clean
%{__rm} -rf $RPM_BUILD_ROOT

%pre
getent group service >/dev/null || /usr/sbin/groupadd service

%post -p /sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc COPYING NEWS AUTHORS
%{_libdir}/libservicelog-*.so.*
%{_libdir}/*.so
%attr( 754, root, service ) %dir /var/lib/servicelog/servicelog.db
%dir /var/lib/servicelog

%files devel
%defattr(-,root,root,-)
%{_includedir}/servicelog-1
%{_libdir}/pkgconfig/servicelog-1.pc


%changelog
* Fri Feb 20 2009 Roman Rakus <rrakus at redhat.com> - 1.0.1-1
- Initial packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/libservicelog/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	7 Mar 2009 17:16:46 -0000	1.1
+++ .cvsignore	11 Mar 2009 14:44:42 -0000	1.2
@@ -0,0 +1 @@
+libservicelog-1.0.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/libservicelog/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Mar 2009 17:16:46 -0000	1.1
+++ sources	11 Mar 2009 14:44:42 -0000	1.2
@@ -0,0 +1 @@
+e3280d47a16a29beef586d5b6068a562  libservicelog-1.0.1.tar.gz




More information about the fedora-extras-commits mailing list