3 %bcond_without gtk # do not build GTK+(2) styles
5 Summary: A free and corrected port of Red Hat's GTK+/Qt theme
6 Summary(pl): Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata
12 Source0: http://www.cpdrummond.freeuk.com/%{name}-%{version}.tar.gz
13 # Source0-md5: fe712471bc69bf127201e85c3a53f49d
14 #Patch0: %{name}-gcc34.patch
15 URL: http://www.kde-look.org/content/show.php?content=5065
16 BuildRequires: automake
17 BuildRequires: kdelibs-devel >= 3.1
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 A free and corrected port of Red Hat's GTK+/Qt theme.
24 Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata.
26 %package -n kde-style-QtCurve
27 Summary: A free and corrected port of Red Hat's GTK+/Qt theme
28 Summary(pl): Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata
30 Requires: kdelibs >= 3.1
32 %description -n kde-style-QtCurve
33 A free and corrected port of Red Hat's GTK+/Qt theme. KDE version.
35 %description -n kde-style-QtCurve -l pl
36 Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata.
39 %package -n gtk-theme-QtCurve
40 Summary: A free and corrected port of Red Hat's GTK+/Qt theme
41 Summary(pl): Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata
44 Requires: theme-QtCurve-common = %{version}-%{release}
46 %description -n gtk-theme-QtCurve
47 A free and corrected port of Red Hat's GTK+/Qt theme. GTK+ version.
49 %description -n gtk-theme-QtCurve -l pl
50 Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata.
53 %package -n gtk2-theme-QtCurve
54 Summary: A free and corrected port of Red Hat's GTK+/Qt theme
55 Summary(pl): Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata
58 Requires: theme-QtCurve-common = %{version}-%{release}
60 %description -n gtk2-theme-QtCurve
61 A free and corrected port of Red Hat's GTK+/Qt theme. GTK+2 version.
63 %description -n gtk2-theme-QtCurve -l pl
64 Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata.
67 %package -n theme-QtCurve-common
68 Summary: A free and corrected port of Redhats GTK+/Qt theme - common
69 Summary(pl): Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata - common
71 Obsoletes: theme-bluecurve-common
72 Obsoletes: gtk2-theme-bluecurve
73 Obsoletes: gtk-theme-bluecurve
74 Obsoletes: kde-style-bluecurve
75 Obsoletes: kde-theme-bluecurve
77 %description -n theme-QtCurve-common
78 A free and corrected port of Red Hat's GTK+/Qt theme.
79 Documentation and common files package.
81 %description -n theme-QtCurve-common -l pl
82 Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata.
83 Pakiet z dokumentacja i plikami wspó³dzielonymi.
90 cp /usr/share/automake/config.sub admin
92 %{!?with_gtk:export "DO_NOT_COMPILE=gtk gtk2"}
93 ##export UNSERMAKE=/usr/share/unsermake/unsermake
94 ##%{__make} -f admin/Makefile.common cvs
100 rm -rf $RPM_BUILD_ROOT
103 DESTDIR=$RPM_BUILD_ROOT
105 rm -f $RPM_BUILD_ROOT{%{_libdir}/gtk/themes/engines,%{_libdir}/gtk-2.0/*/*}/*.la
108 rm -rf $RPM_BUILD_ROOT
110 %files -n kde-style-QtCurve
111 %defattr(644,root,root,755)
112 %{_libdir}/kde3/kstyle_qtcurve_config.la
113 %attr(755,root,root) %{_libdir}/kde3/kstyle_qtcurve_config.so
114 %{_libdir}/kde3/plugins/styles/*.la
115 %attr(755,root,root) %{_libdir}/kde3/plugins/styles/*.so
116 %{_datadir}/apps/kstyle/themes/qtcurve*.themerc
117 %{_datadir}/apps/qtcurve
120 %files -n gtk-theme-QtCurve
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_libdir}/gtk/themes/engines/*.so
123 %{_datadir}/themes/QtCurve*/gtk
125 %files -n gtk2-theme-QtCurve
126 %defattr(644,root,root,755)
127 %attr(755,root,root) %{_libdir}/gtk-2.0/*/*/*.so
128 %{_datadir}/themes/QtCurve*/gtk-2.0
130 %files -n theme-QtCurve-common
131 %defattr(644,root,root,755)
132 %doc ChangeLog README TODO
133 %dir %{_datadir}/themes/QtCurve*