packages: trousers/trousers.spec - updated to 0.3.6 - gtk GUI is optional (...
qboosh
qboosh at pld-linux.org
Sat Oct 9 13:26:47 CEST 2010
Author: qboosh Date: Sat Oct 9 11:26:47 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- updated to 0.3.6
- gtk GUI is optional (bcond, off by default - library is linked with GUI lib)
---- Files affected:
packages/trousers:
trousers.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: packages/trousers/trousers.spec
diff -u packages/trousers/trousers.spec:1.4 packages/trousers/trousers.spec:1.5
--- packages/trousers/trousers.spec:1.4 Mon May 31 13:14:38 2010
+++ packages/trousers/trousers.spec Sat Oct 9 13:26:42 2010
@@ -1,19 +1,23 @@
# $Revision$, $Date$
# TODO: tcsd init script (see dist/fedora/fedora.initrd.tcsd)
+#
+# Conditional build:
+%bcond_with gtk # use GTK+ popups instead of openssl
+#
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.4
+Version: 0.3.6
Release: 1
License: CPL v1.0
Group: Applications/System
-Source0: http://dl.sourceforge.net/trousers/%{name}-%{version}.tar.gz
-# Source0-md5: 72235fd6d2bb35b898a654429946f2e6
+Source0: http://downloads.sourceforge.net/trousers/%{name}-%{version}.tar.gz
+# Source0-md5: f4609e6446099e1403e23bb671df87f4
Patch0: %{name}-nouser.patch
URL: http://trousers.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake >= 1.6
-BuildRequires: gtk+2-devel >= 1:2.0.0
+%{?with_gtk:BuildRequires: gtk+2-devel >= 1:2.0.0}
BuildRequires: libtool
BuildRequires: openssl-devel
BuildRequires: pkgconfig
@@ -57,7 +61,7 @@
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
+%{?with_gtk:Requires: gtk+2-devel >= 1:2.0.0}
Requires: openssl-devel
%description devel
@@ -81,7 +85,6 @@
%prep
%setup -q
%patch0 -p1
-sed -i -e 's#-Werror##g' configure*
%build
%{__libtoolize}
@@ -89,7 +92,8 @@
%{__autoconf}
%{__automake}
%configure \
- --enable-static
+ --enable-static \
+ %{?with_gtk:--with-gui=gtk}
%{__make}
%install
@@ -126,6 +130,7 @@
%files libs
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libtspi.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libtspi.so.1
%files devel
%defattr(644,root,root,755)
@@ -147,6 +152,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2010/10/09 11:26:42 qboosh
+- updated to 0.3.6
+- gtk GUI is optional (bcond, off by default - library is linked with GUI lib)
+
Revision 1.4 2010/05/31 11:14:38 vip
- up to 0.3.4
- patch adapted to 0.3.4
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/trousers/trousers.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list