Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
libcap1
libcap1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libcap1.spec of Package libcap1
# # spec file for package libcap1 (Version 1.10) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libcap1 License: BSD 3-Clause Group: System/Libraries AutoReqProv: on Summary: Library for Capabilities (linux-privs) Support Version: 1.10 Release: 5 Source: ftp://ftp.de.kernel.org/pub/linux/libs/security/linux-privs/old/kernel-2.4/libcap-1.10.tar.bz2 Patch: libcap-%{version}.diff Patch2: header.patch Patch1: libcap-shlib-fix.diff Patch3: libcap.eal3.diff Patch4: libcap-gcc-warning-fixes.diff Patch6: libcap-invalid-free-fix.diff Patch7: libcap-array-range-fix.diff Patch8: libcap-no-version-check.diff #URL: http://www.kernel.org/ #Prefix: /usr BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: libcap = %{version} # 10.2 had libcap 1.92, 10.3 had libcap 1.10 Obsoletes: libcap <= 1.92 %description This package provides a compatible library for the old libcap-1. %prep %setup -q -n libcap-%{version} %patch %patch1 %patch2 %patch3 -p2 %patch4 %patch6 %patch7 %patch8 %build lib=%{_lib} make %{?jobs:-j %jobs} LDFLAGS= COPTFLAG="$RPM_OPT_FLAGS" %install make install FAKEROOT=$RPM_BUILD_ROOT LIBDIR=$RPM_BUILD_ROOT/%{_lib} MANDIR=$RPM_BUILD_ROOT%{_mandir} # move *.so file to libdir and relink rm -f $RPM_BUILD_ROOT/%{_lib}/*.so # remove non-library files rm -rf $RPM_BUILD_ROOT%{_includedir} rm -rf $RPM_BUILD_ROOT%{_mandir} rm -rf $RPM_BUILD_ROOT/sbin %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %attr(755,root,root) /%{_lib}/libcap.so.* %changelog * Wed May 07 2008 coolo@suse.de - fix rename of 10.2 version too * Wed Apr 23 2008 tiwai@suse.de - provided as a compat lib for libcap1 (ver 1.10)
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