source: projects/specs/trunk/lib/libl/liblogging/liblogging-vl.spec @ 11547

Revision 11547, 2.6 KB checked in by tomop, 6 years ago (diff)

liblogging-1.0.6-1

Line 
1Name:    liblogging
2Version: 1.0.6
3Release: 1%{?_dist_release}
4Summary: An easy to use logging library
5License: BSD
6Group:   System Environment/Libraries
7URL:     http://www.liblogging.org/
8Source0: http://download.rsyslog.com/liblogging/liblogging-%{version}.tar.gz
9
10Vendor: Project Vine
11Distribution: Vine Linux
12Packager: tomop
13
14%package stdlog
15Summary: An easy to use logging library - stdlog component
16Group:   System Environment/Libraries
17Requires(post): /sbin/ldconfig
18Requires(postun): /sbin/ldconfig
19
20%package stdlog-devel
21Summary: An easy to use logging library - stdlog development files
22Group:   Development/Libraries
23Requires: %{name}-stdlog%{_isa} = %{version}-%{release}
24Requires: pkgconfig
25
26%description
27liblogging (the upstream project) is a collection of several components.
28Namely: stdlog, journalemu, rfc3195.
29
30%description stdlog
31liblogging (the upstream project) is a collection of several components.
32Namely: stdlog, journalemu, rfc3195.
33The stdlog component of liblogging can be viewed as an enhanced version of the
34syslog(3) API. It retains the easy semantics, but makes the API more
35sophisticated "behind the scenes" with better support for multiple threads
36and flexibility for different log destinations (e.g. syslog and systemd
37journal).
38
39%description stdlog-devel
40This package contains development files for the %{name}-stdlog package.
41
42%prep
43%setup -q
44
45%build
46%configure \
47  --disable-journal \
48  --disable-rfc3195 \
49  --disable-static \
50  --enable-stdlog
51
52make V=1 %{?_smp_mflags}
53perl -pi -e 's/\r//g' COPYING
54
55%install
56make DESTDIR=%{buildroot} install
57# not packing stdlogctl yet
58rm -f \
59  %{buildroot}%{_bindir}/stdlogctl \
60  %{buildroot}%{_libdir}/liblogging-stdlog.la \
61  %{buildroot}%{_mandir}/man1/stdlogctl.1 \
62
63%post stdlog -p /sbin/ldconfig
64
65%postun stdlog -p /sbin/ldconfig
66
67%files stdlog
68%defattr(-,root,root,-)
69%doc COPYING ChangeLog
70%{_libdir}/liblogging-stdlog.so.*
71
72%files stdlog-devel
73%defattr(-,root,root,-)
74%{_includedir}/liblogging
75%{_libdir}/liblogging-stdlog.so
76%{_libdir}/pkgconfig/liblogging-stdlog.pc
77%{_mandir}/man3/stdlog.3.gz
78
79%changelog
80* Sun Feb 25 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.6-1
81- new upstream release.
82
83* Wed Dec 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.5-1
84- new upstream release.
85
86* Mon Jun 16 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.4-3
87- initial build for Vine Linux.
88
89* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-2
90- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
91
92* Sun May 18 2014 Tomas Heinrich <theinric@redhat.com> 1.0.4-1
93- initial import
Note: See TracBrowser for help on using the repository browser.