Blame SPECS/svrcore.spec

793d2b
%define nspr_version 4.6
793d2b
%define nss_version 3.11
793d2b
793d2b
Summary:          Secure PIN handling using NSS crypto
793d2b
Name:             svrcore
793d2b
Version:          4.0.4
793d2b
Release:          9%{?dist}
793d2b
License:          MPLv1.1 or GPLv2+ or LGPLv2+
793d2b
URL:              http://www.mozilla.org/projects/security/pki/
793d2b
Group:            Development/Libraries
793d2b
BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
793d2b
Requires:         nspr >= %{nspr_version}
793d2b
Requires:         nss >= %{nss_version}
793d2b
BuildRequires:    nspr-devel >= %{nspr_version}
793d2b
BuildRequires:    nss-devel >= %{nss_version}
793d2b
BuildRequires:    pkgconfig
793d2b
793d2b
Source0:          ftp://ftp.mozilla.org/pub/mozilla.org/directory/svrcore/releases/%{version}/src/%{name}-%{version}.tar.bz2
793d2b
793d2b
%description
793d2b
svrcore provides applications with several ways to handle secure PIN storage
793d2b
e.g. in an application that must be restarted, but needs the PIN to unlock
793d2b
the private key and other crypto material, without user intervention.  svrcore
793d2b
uses the facilities provided by NSS.
793d2b
793d2b
%package devel
793d2b
Summary: Development files for secure PIN handling using NSS crypto
793d2b
Group: Development/Libraries
793d2b
Requires: %{name} = %{version}-%{release}
793d2b
Requires: nspr-devel >= %{nspr_version}
793d2b
Requires: nss-devel >= %{nss_version}
793d2b
Requires: pkgconfig
793d2b
793d2b
%description devel
793d2b
svrcore provides applications with several ways to handle secure PIN storage
793d2b
e.g. in an application that must be restarted, but needs the PIN to unlock
793d2b
the private key and other crypto material, without user intervention.  svrcore
793d2b
uses the facilities provided by NSS.
793d2b
793d2b
This package contains header files and symlinks to develop programs which will
793d2b
use the libsvrcore library.  You should install this package if you need to
793d2b
develop programs which will use the svrcore library.
793d2b
793d2b
%prep
793d2b
%setup -q
793d2b
793d2b
%build
793d2b
793d2b
%configure
793d2b
make
793d2b
793d2b
%install
793d2b
%{__rm} -rf $RPM_BUILD_ROOT
793d2b
793d2b
make install DESTDIR=$RPM_BUILD_ROOT
793d2b
rm -f $RPM_BUILD_ROOT%{_libdir}/libsvrcore.a
793d2b
rm -f $RPM_BUILD_ROOT%{_libdir}/libsvrcore.la
793d2b
793d2b
%clean
793d2b
%{__rm} -rf $RPM_BUILD_ROOT
793d2b
793d2b
%post -p /sbin/ldconfig
793d2b
%postun -p /sbin/ldconfig
793d2b
793d2b
%files
793d2b
%defattr(-,root,root,-)
793d2b
%doc LICENSE README NEWS
793d2b
%{_libdir}/libsvrcore.so.*
793d2b
793d2b
%files devel
793d2b
%defattr(-,root,root,-)
793d2b
%{_libdir}/pkgconfig/%{name}.pc
793d2b
%{_libdir}/libsvrcore.so
793d2b
%{_includedir}/svrcore.h
793d2b
793d2b
%changelog
793d2b
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.4-9
793d2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
793d2b
793d2b
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.4-8
793d2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
793d2b
793d2b
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.4-7
793d2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
793d2b
793d2b
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.4-6
793d2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
793d2b
793d2b
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.4-5
793d2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
793d2b
793d2b
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.4-4
793d2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
793d2b
793d2b
* Sat Sep  6 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 4.0.4-3
793d2b
- fix license tag
793d2b
793d2b
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.0.4-2
793d2b
- Autorebuild for GCC 4.3
793d2b
793d2b
* Tue Mar 13 2007 Rich Megginson <richm@stanfordalumni.org> - 4.0.4-1
793d2b
- Removed some autoconf generated files which were GPL only - all
793d2b
- code needs to be tri-licensed
793d2b
- updated version to 4.0.4
793d2b
- added empty COPYING file - do not use the one generated by autoreconf
793d2b
- use bz2 for source tarball instead of gz
793d2b
793d2b
* Wed Dec 13 2006 Rich Megginson <richm@stanfordalumni.org> - 4.0.3.01-0
793d2b
- Fixed support for windows build by moving old makefile to src/Makefile.win
793d2b
- and updating instructions - I could not get configure/libtool to work
793d2b
- with cygwin and the msvc compiler
793d2b
- Added support for --with-nspr and --with-nss and finding nspr/nss
793d2b
- "in-tree" when building with other mozilla components
793d2b
- Use PK11_TokenKeyGenWithFlags instead of PK11_KeyGen
793d2b
793d2b
* Fri Dec 08 2006 Toshio Kuratomi <toshio@tiki-lounge.com> - 4.0.2.02-0
793d2b
- Test build based on an second experimental autotools version of svrcore.
793d2b
793d2b
* Thu Dec 07 2006 Toshio Kuratomi <toshio@tiki-lounge.com> - 4.0.2.01-0
793d2b
- Test build based on an experimental autotools version of svrcore.
793d2b
793d2b
* Thu Jul 13 2006 Rich Megginson <rmeggins@redhat.com> - 4.0.2-3
793d2b
- Bump spec rev to 3
793d2b
- Remove unneeded buildrequires perl, gawk, sed
793d2b
- Remove leading / from path macros
793d2b
- Remove provides for package name - done automatically
793d2b
- Move pkgconfig file stuff under install
793d2b
- Added LICENSE and README under docs
793d2b
793d2b
* Mon Jun 26 2006 Rich Megginson <rmeggins@redhat.com> - 4.0.2-2
793d2b
- Bump spec rev to 2 due to change of spec file name from svrcore
793d2b
- to svrcore-devel to comply with fedora packaging guidelines
793d2b
793d2b
* Thu Jun 22 2006 Rich Megginson <rmeggins@redhat.com> - 4.0.2-1
793d2b
- Bump rev to 4.0.2; now using HEAD of mozilla/security/coreconf
793d2b
- which includes the coreconf-location.patch, so got rid of patch
793d2b
793d2b
* Tue Apr 18 2006 Rich Megginson <rmeggins@redhat.com> - 4.0.1-3
793d2b
- Use pkg-config --variable=includedir to get include dirs
793d2b
793d2b
* Wed Feb  1 2006 Rich <rmeggins@redhat.com> - 4.0.1-2
793d2b
- Requires nss version was wrong
793d2b
793d2b
* Wed Jan 11 2006 Rich Megginson <rmeggins@redhat.com> - 4.01-1
793d2b
- Removed svrcore-config - use pkg-config instead
793d2b
793d2b
* Mon Dec 19 2005 Rich Megginson <rmeggins@redhat.com> - 4.01-1
793d2b
- Initial revision