Mailinglist Archive: opensuse-packaging (111 mails)

< Previous Next >
Re: [opensuse-packaging] Some notes from your friendly autobuild team
  • From: Marcus Rueckert <darix@xxxxxxxxx>
  • Date: Mon, 14 Apr 2008 19:21:51 +0200
  • Message-id: <20080414172151.GQ31080@xxxxxxxxxxxxxxxxxxxxxxx>
On 2008-03-07 15:02:20 -0600, Michael Wolf wrote:
On Fri, 2008-03-07 at 16:23 +0100, Marcus Rueckert wrote:

we rename the package back to libetpan and let the spec generate an
empty main package. Additionally we have 2 subpackages (libetpan13 and
libetpan-devel).


Totally empty? I tried creating an empty package and got the following:
"An empty RPM is not allowed anymore in SuSE Linux"

(I don't think that empty packages are a bad thing, but at the present,
what you suggest isn't quite possible.)

oh it is possible. see the attached spec file

darix

--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org
#
# spec file for package librelp (Version 0.1.1)
#
# 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/
#

Name: librelp
Version: 0.1.1
Release: 0
#
Group: Development/Libraries/C and C++
License: GPLv3
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#
Url: http://www.librelp.com/
Source: http://download.rsyslog.com/librelp/librelp-0.1.1.tar.bz2
#
Summary: A reliable logging library
%description
librelp is an easy to use library for the RELP protocol. RELP in turn provides
reliable event logging over the network (and consequently RELP stands for
Reliable Event Logging Protocol). RELP was initiated by Rainer Gerhards after
he was finally upset by the lossy nature of plain tcp syslog and wanted a cure
for all these dangling issues.

RELP (and hence) librelp assures that no message is lost, not even when
connections break and a peer becomes unavailable. The current version of RELP
has a minimal window of opportunity for message duplication after a session has
been broken due to network problems. In this case, a few messages may be
duplicated (a problem that also exists with plain tcp syslog). Future versions
of RELP will address this shortcoming.

Please note that RELP is a general-purpose, extensible logging protocol. Even
though it was designed to solve the urgent need of rsyslog-to-rsyslog
communication, RELP supports many more applications. Extensible command verbs
provide ample opportunity to extend the protocol without affecting existing
applications.


Authors:
--------
Rainer Gerhards <rgerhards@xxxxxxxxxxx>

%package -n librelp0
Group: Development/Libraries/C and C++
License: GPLv3
# for the debuginfo package
Provides: %{name} = %{version}-%{release}
#
Summary: A reliable logging library
%description -n librelp0
librelp is an easy to use library for the RELP protocol. RELP in turn provides
reliable event logging over the network (and consequently RELP stands for
Reliable Event Logging Protocol). RELP was initiated by Rainer Gerhards after
he was finally upset by the lossy nature of plain tcp syslog and wanted a cure
for all these dangling issues.

RELP (and hence) librelp assures that no message is lost, not even when
connections break and a peer becomes unavailable. The current version of RELP
has a minimal window of opportunity for message duplication after a session has
been broken due to network problems. In this case, a few messages may be
duplicated (a problem that also exists with plain tcp syslog). Future versions
of RELP will address this shortcoming.

Please note that RELP is a general-purpose, extensible logging protocol. Even
though it was designed to solve the urgent need of rsyslog-to-rsyslog
communication, RELP supports many more applications. Extensible command verbs
provide ample opportunity to extend the protocol without affecting existing
applications.


Authors:
--------
Rainer Gerhards <rgerhards@xxxxxxxxxxx>

%package devel
Group: Development/Libraries/C and C++
License: GPLv3
Requires: librelp0 = %{version}
#
Summary: A reliable logging library
%description devel
librelp is an easy to use library for the RELP protocol. RELP in turn provides
reliable event logging over the network (and consequently RELP stands for
Reliable Event Logging Protocol). RELP was initiated by Rainer Gerhards after
he was finally upset by the lossy nature of plain tcp syslog and wanted a cure
for all these dangling issues.

RELP (and hence) librelp assures that no message is lost, not even when
connections break and a peer becomes unavailable. The current version of RELP
has a minimal window of opportunity for message duplication after a session has
been broken due to network problems. In this case, a few messages may be
duplicated (a problem that also exists with plain tcp syslog). Future versions
of RELP will address this shortcoming.

Please note that RELP is a general-purpose, extensible logging protocol. Even
though it was designed to solve the urgent need of rsyslog-to-rsyslog
communication, RELP supports many more applications. Extensible command verbs
provide ample opportunity to extend the protocol without affecting existing
applications.


Authors:
--------
Rainer Gerhards <rgerhards@xxxxxxxxxxx>

%prep
%setup

%build
%configure --disable-static
%{__make}

%install
%makeinstall
%{__rm} %{buildroot}%{_libdir}/librelp.la

%clean
%{__rm} -rf %{buildroot}

%post -n librelp0 -p /sbin/ldconfig
%postun -n librelp0 -p /sbin/ldconfig

%files -n librelp0
%defattr(-,root,root,-)
%{_libdir}/librelp.so.0
%{_libdir}/librelp.so.0.0.0
%doc AUTHORS ChangeLog COPYING NEWS README doc/*.html

%files devel
%defattr(-,root,root,-)
%{_includedir}/librelp.h
%{_libdir}/librelp.so
%{_libdir}/pkgconfig/relp.pc


%changelog
< Previous Next >
This Thread
  • No further messages