Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-liblogging-101-static
dba-liblogging-101-static.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-liblogging-101-static.spec of Package dba-liblogging-101-static
%define version 1.0.1 %define vers 101 %define pkg_name liblogging %define prefix /DBA/%{pkg_name}/%{version} %define maketest 0 Name: dba-%{pkg_name}-%{vers}-static Summary: An easy to use logging library version 1.0.1 Version: %{version} Release: 1 Group: Development/Libraries Source: http://download.rsyslog.com/liblogging/%{pkg_name}-%{version}.tar.gz URL: http://www.liblogging.org/ License: BSD BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif BuildRequires: pkgconfig BuildRequires: gcc-c++ %if 0%{?centos_version} || 0%{?rhel_version} BuildRequires: which libtool %endif %if 0%{?suse_version} >= 1200 BuildRequires: libtool %endif %description Liblogging offers an enhanced replacement for the syslog() call, but retains its ease of use. In a nutshell, it permits sytem administrators to direct application log output to different destinations without requiring the app developer to do any work for this. Liblogging is released under a 2-clause BSD license and as such can be used in any application. %prep %setup -q -n %{pkg_name}-%{version} %build ./configure \ --prefix=%{prefix} \ --enable-static --disable-shared --with-pic --disable-rpath %install %{__make} install DESTDIR=%{buildroot} find %{buildroot}%{prefix} -name "*.old" -o -name "*.la" |xargs -i rm -f {} %post # add pc files to pkgconfig directory if [ -d %{_libdir}/pkgconfig ]; then cd %{_libdir}/pkgconfig if [ -e liblogging-stdlog.pc ]; then %{__rm} -f liblogging-stdlog.pc fi fi %check %if %maketest %{__make} check %endif %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %dir %{prefix} %{prefix}/* %changelog * Tue Feb 25 2014 Holger Manthey <holger.manthey@bertelsmann.de> - initial package
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