]> git.pld-linux.org Git - packages/trousers.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 2 Sep 2007 19:28:38 +0000 (19:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    trousers.spec -> 1.1

trousers.spec [new file with mode: 0644]

diff --git a/trousers.spec b/trousers.spec
new file mode 100644 (file)
index 0000000..d291d1b
--- /dev/null
@@ -0,0 +1,140 @@
+# TODO: tcsd init script (see dist/fedora/fedora.initrd.tcsd)
+Summary:       TrouSerS - The open-source TCG Software Stack
+Summary(pl.UTF-8):     TrouSerS - programowy stos TCG o otwartych źródłach
+Name:          trousers
+Version:       0.3.0
+Release:       1
+License:       CPL v1.0
+Group:         Applications/System
+Source0:       http://dl.sourceforge.net/trousers/%{name}-%{version}.tar.gz
+# Source0-md5: 62f73610186adb5cd34de1c63fcd81ef
+Patch0:                %{name}-nouser.patch
+URL:           http://trousers.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake >= 1.6
+BuildRequires: gtk+2-devel >= 1:2.0.0
+BuildRequires: libtool
+BuildRequires: openssl-devel
+BuildRequires: pkgconfig
+Requires(pre): /bin/id
+Requires(pre): /usr/bin/getgid
+Requires(pre): /usr/sbin/groupadd
+Requires(pre): /usr/sbin/useradd
+Requires(postun):      /usr/sbin/groupdel
+Requires(postun):      /usr/sbin/userdel
+Requires:      %{name}-libs = %{version}-%{release}
+Provides:      group(tss)
+Provides:      user(tss)
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+TrouSerS is an open-source TCG Software Stack (TSS), released under
+the Common Public License. TrouSerS aims to be compliant with the 1.1b
+and 1.2 TSS specifications available from the Trusted Computing Group
+website: <http://www.trustedcomputinggroup.org/>.
+
+%description -l pl.UTF-8
+TrouSerS to programowy stos TCG (TSS, czyli TCG Software Stack) o
+otwartych źródłach wydany na licencji Common Public License. Celem
+projektu jest zgodność ze specyfikacjami TSS 1.1b i 1.2 dostępnymi na
+stronie Trusted Computing Group:
+<http://www.trustedcomputinggroup.org/>.
+
+%package libs
+Summary:       TrouSerS shared library
+Summary(pl.UTF-8):     Biblioteka współdzielona TrouSerS
+Group:         Libraries
+
+%description libs
+TrouSerS shared library.
+
+%description libs -l pl.UTF-8
+Biblioteka współdzielona TrouSerS.
+
+%package devel
+Summary:       Header files for TrouSerS library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki TrouSerS
+Group:         Development/Libraries
+Requires:      %{name}-libs = %{version}-%{release}
+Requires:      gtk+2-devel >= 1:2.0.0
+Requires:      openssl-devel
+
+%description devel
+Header files for TrouSerS library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki TrouSerS.
+
+%package static
+Summary:       Static TrouSerS library
+Summary(pl.UTF-8):     Statyczna biblioteka TrouSerS
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static TrouSerS library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka TrouSerS.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+       --enable-static
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%pre
+%groupadd -g 139 tss
+%useradd -u 139 -d %{_localstatedir}/lib/tpm -s /bin/false -c "TrouSerS user" -g tss tss
+
+%postun
+if [ "$1" = "0" ]; then
+       %userremove tss
+       %groupremove tss
+fi
+
+%post  libs -p /sbin/ldconfig
+%postun        libs -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog LICENSE NICETOHAVES README README.selinux TODO
+%attr(755,root,root) %{_sbindir}/tcsd
+%attr(640,root,tss) %{_sysconfdir}/tcsd.conf
+%attr(700,tss,tss) %{_localstatedir}/lib/tpm
+%{_mandir}/man5/tcsd.conf.5*
+%{_mandir}/man8/tcsd.8*
+
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libtspi.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%doc doc/{LTC-TSS_LLD_08_r2.pdf,TSS_programming_SNAFUs.txt}
+%attr(755,root,root) %{_libdir}/libtspi.so
+%{_libdir}/libtspi.la
+%{_libdir}/libtddl.a
+%{_includedir}/trousers
+%{_includedir}/tss
+%{_mandir}/man3/Tspi_*.3*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libtspi.a
This page took 0.070556 seconds and 4 git commands to generate.