|
|
9b8ece |
Name: libtnc
|
|
|
9b8ece |
Version: 1.25
|
|
|
9b8ece |
Release: 6%{?dist}
|
|
|
9b8ece |
Summary: Library implementation of the Trusted Network Connect (TNC) specification
|
|
|
9b8ece |
License: GPLv2
|
|
|
9b8ece |
Group: System Environment/Libraries
|
|
|
9b8ece |
Source0: http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
|
|
|
9b8ece |
URL: http://libtnc.sourceforge.net/
|
|
|
9b8ece |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
9b8ece |
BuildRequires: libxml2-devel, zlib-devel
|
|
|
9b8ece |
|
|
|
9b8ece |
%description
|
|
|
9b8ece |
This library provides functions for loading and interfacing with loadable IMC
|
|
|
9b8ece |
Integrity Measurement Collector (IMC) and Integrity Measurement Verifier (IMV)
|
|
|
9b8ece |
modules as required by the Trusted Network Computing (TNC) IF-IMC and IF-IMV
|
|
|
9b8ece |
interfaces as described in: https://www.trustedcomputinggroup.org/specs/TNC
|
|
|
9b8ece |
|
|
|
9b8ece |
%package devel
|
|
|
9b8ece |
Summary: Development headers and libraries for libtnc
|
|
|
9b8ece |
Group: Development/Libraries
|
|
|
9b8ece |
Requires: %{name} = %{version}-%{release}
|
|
|
9b8ece |
|
|
|
9b8ece |
%description devel
|
|
|
9b8ece |
Header and library files used for developing with (or linking to) libtnc.
|
|
|
9b8ece |
|
|
|
9b8ece |
%prep
|
|
|
9b8ece |
%setup -q
|
|
|
9b8ece |
|
|
|
9b8ece |
%build
|
|
|
9b8ece |
CFLAGS="%{optflags} -fPIC -DPIC"
|
|
|
9b8ece |
%configure --with-pic
|
|
|
9b8ece |
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
9b8ece |
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
9b8ece |
make %{?_smp_mflags}
|
|
|
9b8ece |
|
|
|
9b8ece |
%install
|
|
|
9b8ece |
rm -rf %{buildroot}
|
|
|
9b8ece |
make DESTDIR=%{buildroot} install
|
|
|
9b8ece |
rm -rf %{buildroot}/%{_libdir}/*.la
|
|
|
9b8ece |
# It is easier to delete the static libs here than to disable them in configure
|
|
|
9b8ece |
# Autoconf makes my brain bleed.
|
|
|
9b8ece |
rm -rf %{buildroot}/%{_libdir}/*.a
|
|
|
9b8ece |
|
|
|
9b8ece |
%clean
|
|
|
9b8ece |
rm -rf %{buildroot}
|
|
|
9b8ece |
|
|
|
9b8ece |
%post -p /sbin/ldconfig
|
|
|
9b8ece |
|
|
|
9b8ece |
%postun -p /sbin/ldconfig
|
|
|
9b8ece |
|
|
|
9b8ece |
%files
|
|
|
9b8ece |
%defattr(-,root,root,-)
|
|
|
9b8ece |
%doc COPYING README
|
|
|
9b8ece |
%{_libdir}/libosc_im*.so.*
|
|
|
9b8ece |
%{_libdir}/libsample_im*.so.*
|
|
|
9b8ece |
%{_libdir}/libtnc.so.*
|
|
|
9b8ece |
|
|
|
9b8ece |
%files devel
|
|
|
9b8ece |
%defattr(-,root,root,-)
|
|
|
9b8ece |
%doc doc/libtnc.pdf
|
|
|
9b8ece |
%{_includedir}/libtnc*.h
|
|
|
9b8ece |
%{_includedir}/tnc*.h
|
|
|
9b8ece |
%{_libdir}/libosc_im*.so
|
|
|
9b8ece |
%{_libdir}/libsample_im*.so
|
|
|
9b8ece |
%{_libdir}/libtnc.so
|
|
|
9b8ece |
|
|
|
9b8ece |
%changelog
|
|
|
9b8ece |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.25-6
|
|
|
9b8ece |
- Mass rebuild 2014-01-24
|
|
|
9b8ece |
|
|
|
9b8ece |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.25-5
|
|
|
9b8ece |
- Mass rebuild 2013-12-27
|
|
|
9b8ece |
|
|
|
9b8ece |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-4
|
|
|
9b8ece |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
9b8ece |
|
|
|
9b8ece |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-3
|
|
|
9b8ece |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
9b8ece |
|
|
|
9b8ece |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-2
|
|
|
9b8ece |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
9b8ece |
|
|
|
9b8ece |
* Thu Feb 17 2011 Tom Callaway <tcallawa@redhat.com> 1.25-1
|
|
|
9b8ece |
- update to 1.25
|
|
|
9b8ece |
|
|
|
9b8ece |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.24-2
|
|
|
9b8ece |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
9b8ece |
|
|
|
9b8ece |
* Fri Mar 19 2010 Tom "spot" Callaway <tcallawa@redhat.com> 1.24-1
|
|
|
9b8ece |
- update to 1.24
|
|
|
9b8ece |
|
|
|
9b8ece |
* Fri Jan 29 2010 Tom "spot" Callaway <tcallawa@redhat.com> 1.23-1
|
|
|
9b8ece |
- update to 1.23
|
|
|
9b8ece |
|
|
|
9b8ece |
* Wed Sep 2 2009 Tom "spot" Callaway <tcallawa@redhat.com> 1.22-1
|
|
|
9b8ece |
- update to 1.22
|
|
|
9b8ece |
|
|
|
9b8ece |
* Tue May 12 2009 Tom "spot" Callaway <tcallawa@redhat.com> 1.19-1
|
|
|
9b8ece |
- initial Fedora package
|