1 | Summary: The Reliable Event Logging Protocol library |
---|
2 | Name: librelp |
---|
3 | Version: 1.0.0 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | License: GPLv3+ |
---|
6 | Group: System Environment/Libraries |
---|
7 | URL: http://www.rsyslog.com/ |
---|
8 | Source0: http://download.rsyslog.com/librelp/%{name}-%{version}.tar.gz |
---|
9 | Requires(post): /sbin/ldconfig |
---|
10 | Requires(postun): /sbin/ldconfig |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
12 | |
---|
13 | %description |
---|
14 | Librelp is an easy to use library for the RELP protocol. RELP (stands |
---|
15 | for Reliable Event Logging Protocol) is a general-purpose, extensible |
---|
16 | logging protocol. |
---|
17 | |
---|
18 | %package devel |
---|
19 | Summary: Development files for the %{name} package |
---|
20 | Group: Development/Libraries |
---|
21 | Requires: %{name} = %{version}-%{release} |
---|
22 | Requires: pkgconfig |
---|
23 | |
---|
24 | %description devel |
---|
25 | Librelp is an easy to use library for the RELP protocol. The |
---|
26 | librelp-devel package contains the header files and libraries needed |
---|
27 | to develop applications using librelp. |
---|
28 | |
---|
29 | %prep |
---|
30 | %setup -q |
---|
31 | |
---|
32 | %build |
---|
33 | %configure --disable-static |
---|
34 | make %{?_smp_mflags} |
---|
35 | |
---|
36 | %install |
---|
37 | rm -rf $RPM_BUILD_ROOT |
---|
38 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
39 | |
---|
40 | rm $RPM_BUILD_ROOT/%{_libdir}/*.la |
---|
41 | |
---|
42 | %clean |
---|
43 | rm -rf $RPM_BUILD_ROOT |
---|
44 | |
---|
45 | %post -p /sbin/ldconfig |
---|
46 | |
---|
47 | %postun |
---|
48 | if [ "$1" = "0" ] ; then |
---|
49 | /sbin/ldconfig |
---|
50 | fi |
---|
51 | |
---|
52 | %files |
---|
53 | %defattr(-,root,root,-) |
---|
54 | %doc AUTHORS COPYING NEWS README doc/*html |
---|
55 | %{_libdir}/librelp.so.* |
---|
56 | |
---|
57 | %files devel |
---|
58 | %defattr(-,root,root) |
---|
59 | %{_includedir}/* |
---|
60 | %{_libdir}/librelp.so |
---|
61 | %{_libdir}/pkgconfig/relp.pc |
---|
62 | |
---|
63 | %changelog |
---|
64 | * Wed Dec 22 2010 IWAI, Masaharu <iwai@alib.jp> 1.0.0-1 |
---|
65 | - build for Vine Linux: based Fedora 1.0.0-1.fc14 |
---|
66 | |
---|
67 | * Thu Jul 15 2010 Tomas Heinrich <theinric@redhat.com> - 1.0.0-1 |
---|
68 | - upgrade to upstream version 1.0.0 |
---|
69 | |
---|
70 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-4 |
---|
71 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
72 | |
---|
73 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3 |
---|
74 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
75 | |
---|
76 | * Wed May 7 2008 Tomas Heinrich <theinric@redhat.com> 0.1.1-2 |
---|
77 | - removed "BuildRequires: autoconf automake" |
---|
78 | |
---|
79 | * Tue Apr 29 2008 Tomas Heinrich <theinric@redhat.com> 0.1.1-1 |
---|
80 | - initial build |
---|