618ceda
%global         gitrev  9324db2
cc5ef69
cc5ef69
Name:           silvia
cc5ef69
Version:        0.2.2
2c0a3a8
Release:        0.14.%{gitrev}git%{?dist}
cc5ef69
Summary:        SImple Library for the Verification and Issuance of Attributes
cc5ef69
cc5ef69
cc5ef69
License:        BSD
cc5ef69
URL:            https://github.com/credentials/silvia
cc5ef69
# To generate: make a checkout, and execute
cc5ef69
#  git archive -9 --format tgz -o silvia-%%{gitrev}.tar.gz --prefix=silvia-%%{version}/ %%{gitrev}
cc5ef69
Source0:        silvia-%{gitrev}.tar.gz
cc5ef69
cc5ef69
BuildRequires:  openssl-devel
cc5ef69
BuildRequires:  pcsc-lite-devel
23037a2
%if 0%{?rhel}
23037a2
# NFC is not around on RHEL, so let's skip that
23037a2
%global     buildargs --without-nfc
23037a2
%else
23037a2
%global     buildargs --with-nfc
cc5ef69
BuildRequires:  libnfc-devel
23037a2
%endif
cc5ef69
BuildRequires:  cppunit-devel
cc5ef69
BuildRequires:  libtool
cc5ef69
BuildRequires:  libxml2-devel
cc5ef69
BuildRequires:  gmp-devel
cc5ef69
cc5ef69
cc5ef69
%description
cc5ef69
SImple Library for the Verification and
cc5ef69
Issuance of Attributes of IRMA cards (irmacard.org).
cc5ef69
cc5ef69
cc5ef69
%package devel
cc5ef69
Summary:        Devel files for silvia
cc5ef69
Requires:       %{name}%{?_isa} = %{version}-%{release}
cc5ef69
cc5ef69
%description devel
cc5ef69
Development files for the SILVIA library
cc5ef69
cc5ef69
cc5ef69
%prep
cc5ef69
%setup -q
cc5ef69
./autogen.sh
cc5ef69
cc5ef69
cc5ef69
%build
23037a2
%configure %{buildargs}
cc5ef69
make %{?_smp_mflags}
cc5ef69
cc5ef69
cc5ef69
%install
cc5ef69
%make_install
cc5ef69
# This is taken from upstream by %%doc
cc5ef69
rm -r %{buildroot}/%{_docdir}
cc5ef69
# We need to remove this per packaging guidelines
cc5ef69
rm %{buildroot}%{_libdir}/lib%{name}.la
cc5ef69
cc5ef69
cc5ef69
%post -p /sbin/ldconfig
cc5ef69
cc5ef69
%postun -p /sbin/ldconfig
cc5ef69
cc5ef69
cc5ef69
%files
cc5ef69
%doc AUTHORS README.md ChangeLog LICENSE
cc5ef69
%{_bindir}/%{name}_issuer
cc5ef69
%{_bindir}/%{name}_keygen
cc5ef69
%{_bindir}/%{name}_loader
cc5ef69
%{_bindir}/%{name}_verifier
65e0e02
%{_bindir}/%{name}_manager
65e0e02
%{_bindir}/%{name}_proxy
cc5ef69
%{_libdir}/lib%{name}.so.0*
cc5ef69
cc5ef69
%files devel
cc5ef69
%{_includedir}/%{name}
cc5ef69
%{_libdir}/lib%{name}.so
cc5ef69
%{_libdir}/pkgconfig/%{name}.pc
cc5ef69
cc5ef69
cc5ef69
%changelog
2c0a3a8
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-0.14.9324db2git
2c0a3a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
2c0a3a8
ca1d4c2
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-0.13.9324db2git
ca1d4c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ca1d4c2
f79a503
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-0.12.9324db2git
f79a503
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f79a503
4939614
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-0.11.9324db2git
4939614
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4939614
bc4c65a
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-0.10.9324db2git
bc4c65a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
bc4c65a
ba41ba5
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.2.2-0.9.9324db2git
ba41ba5
- Rebuilt for GCC 5 C++11 ABI change
ba41ba5
4218327
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-0.8.9324db2git
4218327
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
4218327
618ceda
* Mon Jun 23 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.2.2-0.7.f14d948git
618ceda
- Update to newest git commit
618ceda
618ceda
* Fri Jun 20 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.2.2-0.6.9324db2git
ecb3a3a
- Update to newest git commit
ecb3a3a
- This includes silvia_proxy
ecb3a3a
efe86d1
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-0.5.cd58090git
efe86d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
efe86d1
23037a2
* Tue Mar 11 2014 Patrick Uiterwijk (LOCAL) <puiterwijk@redhat.com> - 0.2.2-0.4.cd58090git
23037a2
- Do not build NFC on RHEL
23037a2
2eba686
* Mon Mar 10 2014 Patrick Uiterwijk (LOCAL) <puiterwijk@redhat.com> - 0.2.2-0.3.cd58090git
2eba686
- Update to newer release
2eba686
e9fafd3
* Fri Feb 28 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.2.2-0.2.c725a91git
e9fafd3
- Update to newer release
e9fafd3
cc5ef69
* Sun Jan 12 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.2.2-0.1.01425e8git
cc5ef69
- Primary packaging