From d02ad6f8d99d56235e1593f853e252093fc7c772 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 18:42:02 +0100 Subject: [PATCH] update to 0.3.11.2 [release 0.3.11.2-1mamba;Sun Aug 25 2013] --- README.md | 2 ++ trousers.spec | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 trousers.spec diff --git a/README.md b/README.md index a386126..c269d3c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # trousers +TrouSerS is an open-source TCG Software Stack implementation, created and released by IBM. + diff --git a/trousers.spec b/trousers.spec new file mode 100644 index 0000000..f67205b --- /dev/null +++ b/trousers.spec @@ -0,0 +1,74 @@ +%define majver %(echo %version | cut -d. -f1-3) +Name: trousers +Version: 0.3.11.2 +Release: 1mamba +Summary: An open-source TCG Software Stack implementation +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://sourceforge.net/projects/trousers/ +Source: http://downloads.sourceforge.net/project/trousers/trousers/%{majver}/trousers-%{version}.tar.gz +License: Common Public Attribution License 1.0 +## AUTOBUILDREQ-BEGIN +## note: run 'autospec -u -a6 libtspi' to get the list of build requirements. +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +TrouSerS is an open-source TCG Software Stack implementation, created and released by IBM. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/tcsd.conf +%{_sbindir}/tcsd +%{_libdir}/libtspi.so.* +%{_mandir}/man5/tcsd.conf.5.gz +%{_mandir}/man8/tcsd.8.gz +%doc AUTHORS LICENSE + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/trousers +%{_includedir}/trousers/*.h +%dir %{_includedir}/tss +%{_includedir}/tss/*.h +%{_libdir}/libtddl.a +%{_libdir}/libtspi.la +%{_libdir}/libtspi.so +%{_mandir}/man3/* +%doc ChangeLog README README.selinux TODO + +%changelog +* Sun Aug 25 2013 Automatic Build System 0.3.11.2-1mamba +- update to 0.3.11.2 + +* Mon Jun 25 2012 Silvan Calarco 0.3.9-1mamba +- package created by autospec