File gnome-certauth.spec of Package gnome-certauth

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



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

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



Authors:
--------
    jacob berkman  <jberkman@novell.com>

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

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



Authors:
--------
    jacob berkman  <jberkman@novell.com>

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

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



Authors:
--------
    jacob berkman  <jberkman@novell.com>

%prep
%setup -q

%build
%configure
make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
rm -f $RPM_BUILD_ROOT%{_libdir}/libgnome-certauth*.la

%clean
rm -rf $RPM_BUILD_ROOT

%post -n libgnome-certauth0
/sbin/ldconfig

%postun -n libgnome-certauth0
/sbin/ldconfig

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

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

%changelog
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
  for multilib support
* Mon Aug 06 2007 ro@suse.de
- provide name and version in library package
  (required by debuginfo and devel package)
* Mon Jul 30 2007 jberkman@novell.com
- initial import
openSUSE Build Service is sponsored by