File obby.spec of Package obby

#
# spec file for package obby (Version 0.4.4)
#
# 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:           obby
BuildRequires:  avahi-devel gcc-c++ gmp-devel gnutls-devel net6-devel pkg-config
License:        GPL v2 or later
Group:          Productivity/Networking/Other
Autoreqprov:    on
Version:        0.4.4
Release:        1
Summary:        Synced document buffers
Source:         %{name}-%{version}.tar.bz2
Patch:          obby-avahi.patch
URL:            http://gobby.0x539.de/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       net6 >= 1.2.1 gmp

%description
obby is a library which provides synced document buffers. It supports
multiple documents in one session and is portable to both Windows and
Unix-like platforms.



Authors:
--------
    Armin Burgmeier <armin@0x539.de>
    Philipp Kern <phil@0x539.de>

%package devel
Summary:        Synced document buffers
Group:          Productivity/Networking/Other
Requires:       %{name} = %{version} avahi-devel net6-devel >= 1.3.1 libsigc++2-devel

%description devel
obby is a library which provides synced document buffers. It supports
multiple documents in one session and is portable to both Windows and
Unix-like platforms.



Authors:
--------
    Armin Burgmeier <armin@0x539.de>
    Philipp Kern <phil@0x539.de>

%prep
%setup -q
### %patch

%build
# FIXME: Cannot autoreconf: Bad AM_GNU_GETTEXT_VERSION check
#ACLOCAL="aclocal -I m4" autoreconf -f -i
autoconf
# FIXME: Work around bad configure:
export CPPFLAGS="-DWITH_AVAHI"
%configure\
	--enable-ipv6\
	--with-zeroconf
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}/obby
%{_libdir}/*.*a
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc

%changelog
* Fri Aug 03 2007 - maw@suse.de
- Update to version 0.4.4:
  + Native avahi zeroconf implementation
  + Misc fixes.
* Tue Jan 30 2007 - sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
- Enabled IPv6 and Zeroconf support.
* Tue Sep 26 2006 - wstephenson@suse.de
- Update to version 0.4.1
  * Support encrypted communications
  * Improve text handling
  * Command subsystem eg /command
  * Reduced memory footprint
  * Spanish, Catalan, Dutch (partial) translations
* Tue Sep 05 2006 - meissner@suse.de
- fixed 1 implicit return. Build with CXXFLAGS.
* 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 0.3.0 [#144674]
* Wed Jan 18 2006 - lmichnovic@suse.cz
- Updated to version 0.3.0rc3
* Sat Jan 14 2006 - kukuk@suse.de
- Add gmp-devel to nfb
* Fri Nov 04 2005 - gekker@suse.de
- Initial import into autobuild, version 0.2.1
openSUSE Build Service is sponsored by