File libepc.spec of Package libepc
#
# spec file for package libepc (Version 0.3.11)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 Dominique Leuenberger, Almere, The Netherlands.
#
# 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/
#
Name: libepc
Summary: Easy Publish and Consume Library
Version: 0.3.11
Release: 4
Source: %{name}-%{version}.tar.bz2
License: LGPLv2.1+
Group: Development/Libraries/GNOME
Url: http://live.gnome.org/libepc/
BuildRequires: gdbm-devel
BuildRequires: glib2-devel
BuildRequires: intltool
BuildRequires: libavahi-glib-devel
BuildRequires: libgnutls-devel
BuildRequires: libsoup-devel
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The Easy Publish and Consume library provides an easy method to:
* publish data using HTTPS: EpcPublisher
* announce that information via DNS-SD: EpcDispatcher
* find that information: EpcConsumer
* and finally consume it
You can use this library as a key/value store published to the network,
using encryption, authentication and service discovery.
%package 1_0-2
License: LGPLv2.1+
Summary: Easy Publish and Consume Library
Group: System/Libraries
Recommends: %{name}-lang = %{version}
# For lang package to be installable:
Provides: %{name} = %{version}
%description 1_0-2
The Easy Publish and Consume library provides an easy method to:
* publish data using HTTPS: EpcPublisher
* announce that information via DNS-SD: EpcDispatcher
* find that information: EpcConsumer
* and finally consume it
You can use this library as a key/value store published to the network,
using encryption, authentication and service discovery.
%package devel
License: LGPLv2.1+
Summary: Easy Publish and Consume Library
Group: Development/Libraries/GNOME
Requires: %{name}-1_0-2 = %{version}
Requires: libavahi-devel
Requires: libavahi-glib-devel
Requires: libsoup-devel
Requires: gtk2-devel
%description devel
Development headers for libepc.
The Easy Publish and Consume library provides an easy method to:
* publish data using HTTPS: EpcPublisher
* announce that information via DNS-SD: EpcDispatcher
* find that information: EpcConsumer
* and finally consume it
You can use this library as a key/value store published to the network,
using encryption, authentication and service discovery.
%lang_package
%prep
%setup -q
%build
%configure --disable-static
%__make %{?jobs:-j%jobs}
%install
%makeinstall
find %{buildroot} -type f -name *.la -exec rm {} \;
%find_lang %{name}
%clean
rm -rf %{buildroot}
%post 1_0-2 -p /sbin/ldconfig
%postun 1_0-2 -p /sbin/ldconfig
%files 1_0-2
%defattr(-,root,root)
%{_libdir}/%{name}*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/%{name}-1.0
%{_includedir}/%{name}-ui-1.0
%{_libdir}/*.so
%{_libdir}/pkgconfig/libepc*.pc
%{_datadir}/gtk-doc/html/%{name}-1.0
# Own these repositories to not depend on gtk-doc while building:
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%files lang -f %{name}.lang
%changelog