# # spec file for package nss-shared-helper (Version 1.0.8) # # Copyright (c) 2010 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: nss-shared-helper BuildRequires: mozilla-nss-devel pkg-config Version: 1.0.8 Release: 1 Summary: Helper functions for sharing NSS database Group: Development/Libraries/C and C++ License: LGPLv2.0+ Source0: nss-shared-helper-%{version}.tar.bz2 Source1: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: on %description This library provides helper functions for programs that want to share an NSS crypto database. Authors: -------- Hans Petter Jansson %define debug_package_requires libnsssharedhelper0 = %{version}-%{release} %package -n libnsssharedhelper0 License: GPLv2+ Summary: Helper functions for sharing NSS database Group: Development/Libraries/C and C++ %description -n libnsssharedhelper0 This library provides helper functions for programs that want to share an NSS crypto database. Authors: -------- Hans Petter Jansson %package devel License: GPLv2+ Summary: Development libraries for nss-shared-helper Group: Development/Libraries/C and C++ Requires: libnsssharedhelper0 = %{version} Requires: mozilla-nss-devel %description devel Header and library files for helpers meant to enable sharing of NSS crypto database. Authors: -------- Hans Petter Jansson %prep %setup -n nss-shared-helper-%{version} %build %configure %__make %{?jobs:-j%jobs}; %install %makeinstall # We don't want to ship the .a and .la files %{__rm} $RPM_BUILD_ROOT/%{_libdir}/*.*a %clean %{__rm} -rf $RPM_BUILD_ROOT %files -n libnsssharedhelper0 %defattr(-, root, root, -) %{_libdir}/libnsssharedhelper.so.* %doc README COPYING %files devel %defattr(-,root,root,-) %{_includedir}/nss-shared-helper %{_libdir}/libnsssharedhelper.so %{_libdir}/pkgconfig/nss-shared-helper.pc %post -n libnsssharedhelper0 -p /sbin/ldconfig %postun -n libnsssharedhelper0 -p /sbin/ldconfig %changelog