rpms/libcap-ng/devel import.log, NONE, 1.1 libcap-ng.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Steve Grubb sgrubb at fedoraproject.org
Fri Jun 12 13:53:28 UTC 2009


Author: sgrubb

Update of /cvs/pkgs/rpms/libcap-ng/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30300/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log libcap-ng.spec 
Log Message:
Initial import



--- NEW FILE import.log ---
libcap-ng-0_4_1-1:HEAD:libcap-ng-0.4.1-1.src.rpm:1244814724


--- NEW FILE libcap-ng.spec ---
Summary: An alternate posix capabilities library
Name: libcap-ng
Version: 0.4.1
Release: 1
License: LGPLv2+
Group: System Environment/Libraries
URL: http://people.redhat.com/sgrubb/libcap-ng
Source0: http://people.redhat.com/sgrubb/libcap-ng/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: kernel-headers >= 2.6.11 
BuildRequires: libattr-devel

%description
Libcap-ng is a library that makes using posix capabilities easier

%package devel
Summary: Header files for libcap-ng library
License: LGPLv2+
Group: Development/Libraries
Requires: kernel-headers >= 2.6.11
Requires: %{name} = %{version}-%{release}

%description devel
The libcap-ng-devel package contains the files needed for developing
applications that need to use the libcap-ng library.

%package utils
Summary: Utilities for analysing and setting file capabilities
License: GPLv2+
Group: Development/Libraries

%description utils
The libcap-ng-utils package contains applications to analyse the
posix capabilities of all the program running on a system. It also
lets you set the file system based capabilities.

%prep
%setup -q

%build
%configure --libdir=/%{_lib}
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR="${RPM_BUILD_ROOT}" install

# Move the symlink
rm -f $RPM_BUILD_ROOT/%{_lib}/%{name}.so
mkdir -p $RPM_BUILD_ROOT%{_libdir}
VLIBNAME=$(ls $RPM_BUILD_ROOT/%{_lib}/%{name}.so.*.*.*)
LIBNAME=$(basename $VLIBNAME)
ln -s ../../%{_lib}/$LIBNAME $RPM_BUILD_ROOT%{_libdir}/%{name}.so


# Remove a couple things so they don't get picked up
rm -f $RPM_BUILD_ROOT/%{_lib}/libcap-ng.la
rm -f $RPM_BUILD_ROOT/%{_lib}/libcap-ng.a

%check
make check

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc COPYING.LIB
%attr(0755,root,root) /%{_lib}/libcap-ng.so.*

%files devel
%defattr(-,root,root,-)
%attr(0644,root,root) %{_mandir}/man3/*
%attr(0644,root,root) %{_includedir}/cap-ng.h
%attr(0755,root,root) %{_libdir}/libcap-ng.so

%files utils
%defattr(-,root,root,-)
%doc COPYING
%attr(0755,root,root) %{_bindir}/*
%attr(0644,root,root) %{_mandir}/man8/*

%changelog
* Thu Jun 11 2009 Steve Grubb <sgrubb at redhat.com> 0.4.1-1
- Spec file cleanups per review
- New upstream release

* Wed Jun 10 2009 Steve Grubb <sgrubb at redhat.com> 0.4-1
- Initial build.



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libcap-ng/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	12 Jun 2009 04:32:35 -0000	1.1
+++ .cvsignore	12 Jun 2009 13:52:57 -0000	1.2
@@ -0,0 +1 @@
+libcap-ng-0.4.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libcap-ng/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	12 Jun 2009 04:32:35 -0000	1.1
+++ sources	12 Jun 2009 13:52:58 -0000	1.2
@@ -0,0 +1 @@
+ecbae8ee97e45156777c535cc4e7552c  libcap-ng-0.4.1.tar.gz




More information about the fedora-extras-commits mailing list