3 # - include /usr/share/themes/QtCurve/mozilla somewhere
6 %bcond_with gtk # build GTK styles
7 %bcond_without gtk2 # don't build GTK+2 styles
9 Summary: A free and corrected port of Red Hat's GTK+/Qt theme
10 Summary(pl): Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata
16 Source0: http://www.cpdrummond.freeuk.com/%{name}-%{version}.tar.gz
17 # Source0-md5: 6ea0c0b83ec8456c13f566fe5b0df894
18 URL: http://www.kde-look.org/content/show.php?content=5065
19 BuildRequires: autoconf
20 BuildRequires: automake
21 %{?with_gtk:BuildRequires: gtk+-devel}
22 %{?with_gtk2:BuildRequires: gtk+2-devel}
23 BuildRequires: kdelibs-devel >= 3.1
24 BuildRequires: pkgconfig
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 A free and corrected port of Red Hat's GTK+/Qt theme.
31 Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata.
33 %package -n kde-style-QtCurve
34 Summary: A free and corrected port of Red Hat's GTK+/Qt theme
35 Summary(pl): Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata
37 Requires: kdelibs >= 3.1
39 %description -n kde-style-QtCurve
40 A free and corrected port of Red Hat's GTK+/Qt theme. KDE version.
42 %description -n kde-style-QtCurve -l pl
43 Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata.
46 %package -n gtk-theme-QtCurve
47 Summary: A free and corrected port of Red Hat's GTK+/Qt theme
48 Summary(pl): Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata
50 Requires: theme-QtCurve-common = %{version}-%{release}
52 %description -n gtk-theme-QtCurve
53 A free and corrected port of Red Hat's GTK+/Qt theme. GTK+ version.
55 %description -n gtk-theme-QtCurve -l pl
56 Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata.
59 %package -n gtk2-theme-QtCurve
60 Summary: A free and corrected port of Red Hat's GTK+/Qt theme
61 Summary(pl): Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata
63 Requires: theme-QtCurve-common = %{version}-%{release}
65 %description -n gtk2-theme-QtCurve
66 A free and corrected port of Red Hat's GTK+/Qt theme. GTK+2 version.
68 %description -n gtk2-theme-QtCurve -l pl
69 Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata.
72 %package -n theme-QtCurve-common
73 Summary: A free and corrected port of Redhats GTK+/Qt theme - common
74 Summary(pl): Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata - common
76 Obsoletes: theme-bluecurve-common
77 Obsoletes: gtk2-theme-bluecurve
78 Obsoletes: gtk-theme-bluecurve
79 Obsoletes: kde-style-bluecurve
80 Obsoletes: kde-theme-bluecurve
82 %description -n theme-QtCurve-common
83 A free and corrected port of Red Hat's GTK+/Qt theme.
84 Documentation and common files package.
86 %description -n theme-QtCurve-common -l pl
87 Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata.
88 Pakiet z dokumentacja i plikami wspó³dzielonymi.
94 cp /usr/share/automake/config.sub admin
96 %{__make} -f admin/Makefile.common cvs
102 rm -rf $RPM_BUILD_ROOT
105 DESTDIR=$RPM_BUILD_ROOT
107 rm -f $RPM_BUILD_ROOT{%{_libdir}/gtk/themes/engines,%{_libdir}/gtk-2.0/*/*}/*.la
110 rm -rf $RPM_BUILD_ROOT
112 %files -n kde-style-QtCurve
113 %defattr(644,root,root,755)
114 %{_libdir}/kde3/kstyle_qtcurve_config.la
115 %attr(755,root,root) %{_libdir}/kde3/kstyle_qtcurve_config.so
116 %{_libdir}/kde3/plugins/styles/*.la
117 %attr(755,root,root) %{_libdir}/kde3/plugins/styles/*.so
118 %{_datadir}/apps/kstyle/themes/qtcurve*.themerc
119 %{_datadir}/apps/qtcurve
122 %files -n gtk-theme-QtCurve
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_libdir}/gtk/themes/engines/*.so
125 %{_datadir}/themes/QtCurve*/gtk
129 %files -n gtk2-theme-QtCurve
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %{_libdir}/gtk-2.0/*/*/*.so
132 %{_datadir}/themes/QtCurve*/gtk-2.0
135 %files -n theme-QtCurve-common
136 %defattr(644,root,root,755)
137 %doc ChangeLog README TODO
138 %dir %{_datadir}/themes/QtCurve*