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