SPECS: QtCurve.spec - added gtk2 bcond (as default) - updated BRs
charles
charles at pld-linux.org
Sat May 20 19:34:32 CEST 2006
Author: charles Date: Sat May 20 17:34:32 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added gtk2 bcond (as default)
- updated BRs
---- Files affected:
SPECS:
QtCurve.spec (1.33 -> 1.34)
---- Diffs:
================================================================
Index: SPECS/QtCurve.spec
diff -u SPECS/QtCurve.spec:1.33 SPECS/QtCurve.spec:1.34
--- SPECS/QtCurve.spec:1.33 Sat May 20 17:46:32 2006
+++ SPECS/QtCurve.spec Sat May 20 19:34:27 2006
@@ -4,7 +4,8 @@
# - include /usr/share/themes/QtCurve/mozilla somewhere
#
# Conditional build:
-%bcond_without gtk # do not build GTK+(2) styles
+%bcond_with gtk # build GTK styles
+%bcond_without gtk2 # don't build GTK+2 styles
#
Summary: A free and corrected port of Red Hat's GTK+/Qt theme
Summary(pl): Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata
@@ -17,8 +18,12 @@
# Source0-md5: c66328fcb43cc34a61caafdc515220c8
#Patch0: %{name}-gcc34.patch
URL: http://www.kde-look.org/content/show.php?content=5065
+BuildRequires: autoconf
BuildRequires: automake
+%{?with_gtk:BuildRequires: gtk-devel}
+%{?with_gtk2:BuildRequires: gtk+2-devel}
BuildRequires: kdelibs-devel >= 3.1
+BuildRequires: pkgconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -44,7 +49,6 @@
Summary: A free and corrected port of Red Hat's GTK+/Qt theme
Summary(pl): Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata
Group: Themes
-Requires: gtk+
Requires: theme-QtCurve-common = %{version}-%{release}
%description -n gtk-theme-QtCurve
@@ -58,7 +62,6 @@
Summary: A free and corrected port of Red Hat's GTK+/Qt theme
Summary(pl): Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata
Group: Themes
-Requires: gtk+
Requires: theme-QtCurve-common = %{version}-%{release}
%description -n gtk2-theme-QtCurve
@@ -93,9 +96,7 @@
%build
cp /usr/share/automake/config.sub admin
-%{!?with_gtk:export "DO_NOT_COMPILE=gtk gtk2"}
-##export UNSERMAKE=/usr/share/unsermake/unsermake
-##%{__make} -f admin/Makefile.common cvs
+%{__make} -f admin/Makefile.common cvs
%configure
%{__make}
@@ -125,17 +126,19 @@
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/gtk/themes/engines/*.so
%{_datadir}/themes/QtCurve*/gtk
+%endif
+%if %{with gtk2}
%files -n gtk2-theme-QtCurve
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/gtk-2.0/*/*/*.so
%{_datadir}/themes/QtCurve*/gtk-2.0
+%endif
%files -n theme-QtCurve-common
%defattr(644,root,root,755)
%doc ChangeLog README TODO
%dir %{_datadir}/themes/QtCurve*
-%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -143,6 +146,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.34 2006/05/20 17:34:27 charles
+- added gtk2 bcond (as default)
+- updated BRs
+
Revision 1.33 2006/05/20 15:46:32 adamg
- updated to 0.35.1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/QtCurve.spec?r1=1.33&r2=1.34&f=u
More information about the pld-cvs-commit
mailing list