# # spec file for package nss-shared-helper (Version 1.0.0) # # Copyright (c) 2008 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-nspr-devel mozilla-nss-devel pkg-config Version: 1.0.0 Release: 2 Summary: Helper functions for sharing NSS database Group: Development/Libraries/C and C++ License: LGPL v2.0 or later Source0: nss-shared-helper-%{version}.tar.bz2 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: GPL v2 or later 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: GPL v2 or later Summary: Development libraries for nss-shared-helper Group: Development/Libraries/C and C++ Requires: libnsssharedhelper0 = %{version} %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 %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 * Thu Aug 28 2008 hpj@suse.de - Initial package.