File net6.spec of Package net6

#
# spec file for package net6 (Version 1.3.1)
#
# Copyright (c) 2007 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/
#

# norootforbuild

Name:           net6
BuildRequires:  gcc-c++ gettext-devel gnutls-devel libsigc++2-devel pkg-config
License:        GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Group:          Development/Libraries/GNOME
Autoreqprov:    on
Version:        1.3.1
Release:        22
Summary:        Network access framework for IPv4/IPv6
Source:         %{name}-%{version}.tar.bz2
URL:            http://gobby.0x539.de/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%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
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>

%prep
%setup -q

%build
# FIXME: Cannot autoreconf: Bad AM_GNU_GETTEXT_VERSION check
#ACLOCAL="aclocal -I m4" autoreconf -f -i
%configure
make %{?jobs:-j%jobs}

%install
%makeinstall
%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%post
%run_ldconfig

%postun
%run_ldconfig

%files -f %{name}.lang
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_libdir}/*.so.*

%files devel
%defattr (-, root, root)
%{_includedir}/net6
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%{_libdir}/*.*a

%changelog -n net6
* 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
openSUSE Build Service is sponsored by