File gnome-certauth.spec of Package gnome-certauth

#
# spec file for package gnome-certauth (Version 0.3)
#
# Copyright (c) 2009 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/
#



Name:           gnome-certauth
Version:        0.3
Release:        6
License:        GPL v2 only
Summary:        Easy certificate authentication for Gnome
Url:            http://code.google.com/p/loolixbodes/wiki/GnomeCertAuth
Group:          Development/Libraries/GNOME
Source0:        http://gnome-certauth.googlecode.com/files/gnome-certauth-%{version}.tar.gz
BuildRequires:  gnutls-devel
BuildRequires:  libbonobo-devel
BuildRequires:  pkgconfig
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} >= 1010
BuildRequires:  mozilla-nspr-devel
BuildRequires:  mozilla-nss-devel
%endif
%if 0%{?fedora_version} == 6
BuildRequires:  nspr-devel
BuildRequires:  nss-devel
%endif

%description
Gnome Certificate Authentication provides a mechanism for Evolution to
authenticate over SSL using certificates.

%package -n libgnome-certauth0
License:        GPL v2 only
Summary:        Easy certificate authentication for Gnome
Group:          Development/Libraries/GNOME
Provides:       %{name} = %{version}

%description -n libgnome-certauth0
Gnome Certificate Authentication provides a mechanism for Evolution to
authenticate over SSL using certificates.

%package devel
License:        GPL v2 only
Summary:        Easy certificate authentication for Gnome
Group:          Development/Libraries/GNOME
Requires:       %{name} = %{version}
Requires:       glib2-devel
Requires:       gnutls-devel
Requires:       libbonobo-devel

%description devel
Gnome Certificate Authentication provides a mechanism for Evolution to
authenticate over SSL using certificates.

%prep
%setup -q

%build
%configure --disable-static
%{__make} %{?jobs:-j%jobs}

%install
%makeinstall
rm -f %{buildroot}%{_libdir}/libgnome-certauth*.la

%clean
rm -rf %{buildroot}

%post -n libgnome-certauth0 -p /sbin/ldconfig

%postun -n libgnome-certauth0 -p /sbin/ldconfig

%files -n libgnome-certauth0
%defattr(-,root,root,-)
%doc
%{_libdir}/libgnome-certauth*.so.*

%files devel
%defattr(-,root,root,-)
%{_libdir}/libgnome-certauth*.so
%{_includedir}/gnome-certauth-0.0
%{_libdir}/pkgconfig/gnome-certauth-0.0.pc

%changelog
openSUSE Build Service is sponsored by