[prev in list] [next in list] [prev in thread] [next in thread]
List: annvix-cvs
Subject: [cvs] SVN commit in packages r7558 -
From: cvsrep () annvix ! org
Date: 2007-08-22 3:30:35
Message-ID: E1INgvT-0006PZ-9o () hades ! annvix ! org
[Download RAW message or body]
Author: vdanen
Date: 2007-08-21 21:30:35 -0600 (Tue, 21 Aug 2007)
New Revision: 7558
Modified:
releases/2.1-CURRENT/libneon/SPECS/libneon.spec
Log:
- implement devel naming policy
- implement library provides policy
Modified: releases/2.1-CURRENT/libneon/SPECS/libneon.spec
===================================================================
--- releases/2.1-CURRENT/libneon/SPECS/libneon.spec 2007-08-22 03:19:15 UTC (rev 7557)
+++ releases/2.1-CURRENT/libneon/SPECS/libneon.spec 2007-08-22 03:30:35 UTC (rev 7558)
@@ -14,6 +14,10 @@
%define major 0.24
%define libname %mklibname neon %{major}
+%define devname %mklibname neon -d
+%define odevname %mklibname neon 0.24 -d
+%define staticdevname %mklibname neon -d -s
+%define ostaticdevname %mklibname neon -d -s 0.24
Summary: An HTTP and WebDAV client library, with a C interface
Name: %{name}
@@ -29,7 +33,7 @@
Patch2: neon-0.24.7-min.patch
Patch3: neon-0.24.7-avx-no_wildcard_match.patch
-Buildroot: %{_buildroot}/%{name}-%{version}
+BuildRoot: %{_buildroot}/%{name}-%{version}
BuildRequires: openssl-devel >= 0.9.7
BuildRequires: libxml2-devel
BuildRequires: libxmlrpc-devel
@@ -37,10 +41,6 @@
BuildRequires: multiarch-utils >= 1.0.3
BuildConflicts: krb5-devel
-Requires: openssl >= 0.9.7
-Provides: libneon
-Provides: neon
-
%description
neon is an HTTP and WebDAV client library for Unix systems,
with a C language API. It provides high-level interfaces to
@@ -48,11 +48,13 @@
HTTP request/response handling, allowing new methods to be
easily implemented.
+
%package -n %{libname}
Summary: An HTTP and WebDAV client library, with a C interface
Group: System/Libraries
-Provides: libneon
-Provides: neon
+Provides: libneon = %{version}-%{release}
+Provides: neon = %{version}-%{release}
+Requires: openssl >= 0.9.7
%description -n %{libname}
neon is an HTTP and WebDAV client library for Unix systems,
@@ -61,26 +63,29 @@
HTTP request/response handling, allowing new methods to be
easily implemented.
-%package -n %{libname}-devel
+
+%package -n %{devname}
Summary: Headers for developing programs that will use %{name}
Group: Development/C++
Requires: %{libname} = %{version}
-Provides: libneon-devel = %{version}
-Provides: neon-devel = %{version}
+Provides: libneon-devel = %{version}-%{release}
+Provides: neon-devel = %{version}-%{release}
+Obsoletes: %{odevname}
-%description -n %{libname}-devel
+%description -n %{devname}
This package contains the headers that programmers will need to develop
applications which will use %{name}.
-%package -n %{libname}-static-devel
+%package -n %{staticdevname}
Summary: Static %{libname} library
Group: Development/C++
-Requires: %{libname}-devel = %{version}
-Provides: libneon-static-devel = %{version}
-Provides: neon-static-devel = %{version}
+Requires: %{devname} = %{version}
+Provides: libneon-static-devel = %{version}-%{release}
+Provides: neon-static-devel = %{version}-%{release}
+Obsoletes: %{ostaticdevname}
-%description -n %{libname}-static-devel
+%description -n %{staticdevname}
Static %{libname} library.
@@ -138,10 +143,11 @@
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
-%post -n %{libname}-devel -p /sbin/ldconfig
-%postun -n %{libname}-devel -p /sbin/ldconfig
+%post -n %{devname} -p /sbin/ldconfig
+%postun -n %{devname} -p /sbin/ldconfig
+
%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
@@ -150,7 +156,7 @@
%defattr(-,root,root,755)
%{_libdir}/lib*.so.*
-%files -n %{libname}-devel
+%files -n %{devname}
%defattr(-,root,root,755)
%multiarch %{multiarch_bindir}/neon-config
%{_bindir}/neon-config
@@ -161,7 +167,7 @@
%{_mandir}/man1/*
%{_mandir}/man3/*
-%files -n %{libname}-static-devel
+%files -n %{staticdevname}
%defattr(644,root,root,755)
%{_libdir}/lib*.a
@@ -172,6 +178,10 @@
%changelog
+* Tue Aug 21 2007 Vincent Danen <vdanen-at-build.annvix.org> 0.24.7
+- implement devel naming policy
+- implement library provides policy
+
* Fri Dec 29 2006 Vincent Danen <vdanen-at-build.annvix.org> 0.24.7
- build against new libxml2
_______________________________________________
cvs mailing list
cvs@annvix.org
http://annvix.org/mailman/listinfo/cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic