SPECS: ipset.spec - created devel subpackage, i think right :),
djrzulf
djrzulf at pld-linux.org
Sun Dec 11 14:05:04 CET 2005
Author: djrzulf Date: Sun Dec 11 13:05:04 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- created devel subpackage, i think right :),
---- Files affected:
SPECS:
ipset.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/ipset.spec
diff -u SPECS/ipset.spec:1.4 SPECS/ipset.spec:1.5
--- SPECS/ipset.spec:1.4 Thu Nov 24 12:01:15 2005
+++ SPECS/ipset.spec Sun Dec 11 14:04:59 2005
@@ -1,7 +1,6 @@
# $Revision$, $Date$
#
# TODO:
-# - -devel subpackage
# - Requires and BuildRequires with proper versions
#
Summary: IP sets utility
@@ -34,6 +33,15 @@
(TCP/UDP) lub adresy IP z adresami MAC - w sposób zapewniający
maksymalną szybkość przy dopasowywaniu elementu do zbioru.
+%package devel
+Summary: Library for the ipset interface
+Summary(pl): Biblioteka do interfejsu ipset
+Group: Development/Libraries
+
+%description devel
+
+%description devel -l pl
+
%prep
%setup -qn %{name}-%{version_base}
%patch0 -p1
@@ -48,6 +56,7 @@
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/%{_includedir}
%{__make} install \
DESTDIR="$RPM_BUILD_ROOT" \
@@ -55,6 +64,7 @@
LIBDIR="%{_libdir}" \
MANDIR="%{_mandir}" \
BINDIR="%{_sbindir}"
+install *.h $RPM_BUILD_ROOT/%{_includedir}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -67,12 +77,19 @@
%attr(755,root,root) %{_libdir}/ipset/*.so
%{_mandir}/man8/*
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/*.h
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2005/12/11 13:04:59 djrzulf
+- created devel subpackage, i think right :),
+
Revision 1.4 2005/11/24 11:01:15 pluto
- updated to 2.2.7, all modules enabled, release 1.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/ipset.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list