File net6.spec of Package net6
#
# spec file for package net6 (Version 1.3.8)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: net6
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gettext-devel
BuildRequires: gnutls-devel
BuildRequires: libsigc++2-devel
BuildRequires: pkg-config
License: LGPL v2.1 or later
Group: Development/Libraries/GNOME
AutoReqProv: on
Version: 1.3.8
Release: 1
Summary: Network access framework for IPv4/IPv6
Source: %{name}-%{version}.tar.bz2
Url: http://gobby.0x539.de/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: %{name}-lang = %{version}
%description
net6 is a library which eases the development of network-based
applications as it provides a TCP protocol abstraction for C++. It is
portable to both the Windows and Unix-like platforms.
Authors:
--------
Armin Burgmeier <armin@0x539.de>
%package devel
License: LGPL v2.1 or later
Summary: Network access framework for IPv4/IPv6
Group: Development/Libraries/GNOME
Requires: %{name} = %{version} gnutls-devel libsigc++2-devel
%description devel
net6 is a library which eases the development of network-based
applications as it provides a TCP protocol abstraction for C++. It is
portable to both the Windows and Unix-like platforms.
Authors:
--------
Armin Burgmeier <armin@0x539.de>
%lang_package
%prep
%setup -q
%build
# FIXME: Cannot autoreconf: Bad AM_GNU_GETTEXT_VERSION check
#ACLOCAL="aclocal -I m4" autoreconf -f -i
%configure --disable-static --with-pic
make %{?jobs:-j%jobs}
%install
%makeinstall
%find_lang %{name}
%fdupes $RPM_BUILD_ROOT
rm -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_libdir}/*.so.*
%files lang -f %{name}.lang
%files devel
%defattr (-, root, root)
%{_includedir}/net6
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%changelog
* Fri Sep 12 2008 maw@suse.de
- Update to version 1.3.8:
+ Misc. fixes
+ Updated translations.
* Thu May 15 2008 crrodriguez@suse.de
- do not package unusable static libraries (there is
no static gnutls)
* Thu Apr 03 2008 hpj@suse.de
- Upgrade to version 1.3.6:
* Translation updates.
* Tue Aug 07 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage
- s#%%run_ldconfig#/sbin/ldconfig/ in %%post and %%postun.
* Fri Aug 03 2007 maw@suse.de
- Update to version 1.3.5:
+ compilation and bug fixes.
* Tue Jan 30 2007 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Sun Oct 29 2006 meissner@suse.de
- use RPM_OPT_FLAGS for CXXFLAGS too.
* Tue Sep 26 2006 wstephenson@suse.de
- Update to version 1.3.1
* Support encrypted communication via gnutls
* Work over unix domain sockets
* Detect dropped clients
* IPv6 fixes
* Fri Sep 15 2006 jhargadon@suse.de
- applied a patch to fix compiler warnings in src/error.cpp for
bug 204415.
* Sat Feb 25 2006 aj@suse.de
- Reduce BuildRequires.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 23 2006 lmichnovic@suse.cz
- Update to version 1.2.2 [#144674]
* Wed Jan 18 2006 lmichnovic@suse.cz
- Updated to version 1.2.1
* Fri Nov 04 2005 gekker@suse.de
- Initial import into autobuild, version 1.1.0