Blame SPECS/svrcore.spec

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