Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
liblogging
liblogging.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File liblogging.spec of Package liblogging
# # spec file for package liblogging # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define with_systemd_journal 0%{?suse_version} >= 1310 %define with_rst2man 0%{?suse_version} >= 1230 %define sover 0 Name: liblogging Version: 1.0.5 Release: 0 Summary: An easy to use logging library License: BSD-2-Clause Group: System Environment/Libraries Url: http://www.liblogging.org/ Source0: http://download.rsyslog.com/liblogging/%{name}-%{version}.tar.gz BuildRequires: chrpath BuildRequires: dos2unix BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} > 1110 BuildRequires: pkgconfig(pkg-config) >= 0.9.0 %else BuildRequires: pkg-config >= 0.9.0 %endif %if %{with_rst2man} BuildRequires: python-docutils %endif %if %{with_systemd_journal} BuildRequires: pkgconfig(libsystemd-journal) >= 197 %endif %description Liblogging is an easy to use logging library. It contains the Libstdlog component is used for standard logging (syslog replacement) purposes via multiple channels. %package -n %{name}%{sover} Summary: An easy to use logging library Group: System Environment/Libraries %description -n %{name}%{sover} Liblogging is an easy to use logging library. It contains the Libstdlog component is used for standard logging (syslog replacement) purposes via multiple channels. %package devel Summary: Development files for LibLogging stdlog library Group: Development/Libraries Requires: %{name}%{sover} = %{version}-%{release} %description devel The liblogging-devel package includes header files, libraries necessary for developing programs which use liblogging library. %prep %setup -q %build %configure \ --disable-static \ --enable-rfc3195 \ %if %{with_systemd_journal} --enable-journal \ %else --disable-journal \ %endif %if %{with_rst2man} --disable-cached-man-pages \ %else --enable-cached-man-pages \ %endif make %{?_smp_mflags:%{?_smp_mflags}} V=1 dos2unix AUTHORS ChangeLog COPYING README %install make DESTDIR=%{buildroot} install %{?_smp_mflags} rm -v %{buildroot}/%{_libdir}/liblogging-rfc3195.la rm -v %{buildroot}/%{_libdir}/liblogging-stdlog.la chrpath -d %{buildroot}/%{_libdir}/liblogging-stdlog.so.0.0.0 rm -v rfc3195/doc/html/Makefile* %post -n %{name}%{sover} -p /sbin/ldconfig %postun -n %{name}%{sover} -p /sbin/ldconfig %files -n %{name}%{sover} %defattr(-,root,root) %doc COPYING %{_libdir}/liblogging-rfc3195.so.* %{_libdir}/liblogging-stdlog.so.* %{_bindir}/stdlogctl %{_mandir}/man1/stdlogctl* %files devel %defattr(-,root,root) %doc ChangeLog COPYING README %doc rfc3195/doc/html %{_libdir}/liblogging-rfc3195.so %{_libdir}/liblogging-stdlog.so %dir %{_includedir}/%{name} %{_includedir}/liblogging/*.h %{_libdir}/pkgconfig/liblogging-rfc3195.pc %{_libdir}/pkgconfig/liblogging-stdlog.pc %{_mandir}/man3/stdlog* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor