packages: tint2/tint2.spec - avoid g++ requirement - BR: gtk+2-devel, xorg-...
sparky
sparky at pld-linux.org
Wed Feb 2 17:33:01 CET 2011
Author: sparky Date: Wed Feb 2 16:33:01 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- avoid g++ requirement
- BR: gtk+2-devel, xorg-lib-libXrandr-devel
- no need to pass rpm*flags to make anymore
- NOTE: still overrides out optimization with -O3
---- Files affected:
packages/tint2:
tint2.spec (1.18 -> 1.19)
---- Diffs:
================================================================
Index: packages/tint2/tint2.spec
diff -u packages/tint2/tint2.spec:1.18 packages/tint2/tint2.spec:1.19
--- packages/tint2/tint2.spec:1.18 Tue Sep 21 20:59:50 2010
+++ packages/tint2/tint2.spec Wed Feb 2 17:32:56 2011
@@ -19,6 +19,7 @@
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: glib2-devel
+BuildRequires: gtk+2-devel
BuildRequires: imlib2-devel
BuildRequires: libpng-devel
BuildRequires: libtool
@@ -28,6 +29,7 @@
BuildRequires: xorg-lib-libXcomposite-devel
BuildRequires: xorg-lib-libXdamage-devel
BuildRequires: xorg-lib-libXinerama-devel
+BuildRequires: xorg-lib-libXrandr-devel
%if %{with tintwizard}
Requires: python
Requires: python-pygtk-gtk
@@ -58,17 +60,16 @@
tint2 - przykładowe konfiguracje.
%prep
-%setup -q -n %{name}-%{version}
+%setup -q
mkdir build
%build
cd build
%cmake \
+ -DCMAKE_CXX_COMPILER_WORKS=1 -DCMAKE_CXX_COMPILER="%{__cc}" \
-DCMAKE_INSTALL_PREFIX=%{_usr} \
..
-%{__make} \
- CC="%{__cc}" \
- CFLAGS="%{rpmcflags} %{rpmldflags}"
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
@@ -110,6 +111,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.19 2011/02/02 16:32:56 sparky
+- avoid g++ requirement
+- BR: gtk+2-devel, xorg-lib-libXrandr-devel
+- no need to pass rpm*flags to make anymore
+- NOTE: still overrides out optimization with -O3
+
Revision 1.18 2010/09/21 18:59:50 glen
- release 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/tint2/tint2.spec?r1=1.18&r2=1.19&f=u
More information about the pld-cvs-commit
mailing list