]> git.pld-linux.org Git - packages/QtCurve.git/blob - QtCurve.spec
30bd9a8ced2673422733340d81bc0ebba4376866
[packages/QtCurve.git] / QtCurve.spec
1
2 %bcond_without gtk      # do not build gtk+(2) styles
3
4 Summary:        A free and corrected port of Redhats gtk/qt theme
5 Summary(pl):    Darmowa i poprawiona wersja tematu gtk/qt zrobionego przez Redhata
6 Name:           QtCurve
7 Version:        0.18
8 Release:        1
9 License:        GPL
10 Group:          Themes
11 # from          http://www.kde-look.org/content/download.php?content=5065&id=1
12 Source0:        %{name}-%{version}.tar.gz
13 # Source0-md5:  b42974ade8866c1b00808af9f0e47d61
14 URL:            http://www.kde-look.org/content/show.php?content=5065
15 BuildRequires:  kdelibs-devel >= 3.1
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 A free and corrected port of Redhat's gtk/qt theme.
20
21 %description -l pl
22 Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata.
23
24 %package -n kde-style-QtCurve
25 Summary:        A free and corrected port of Redhat's gtk/qt theme
26 Summary(pl):    Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata
27 Group:          Themes
28 Requires:       kdelibs >= 3.1
29
30 %description -n kde-style-QtCurve
31 A free and corrected port of Redhat's gtk/qt theme. KDE version.
32
33 %description -n kde-style-QtCurve -l pl
34 Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata.
35 Wersja pod KDE.
36
37 %package -n gtk-theme-QtCurve
38 Summary:        A free and corrected port of Redhat's gtk/qt theme
39 Summary(pl):    Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata
40 Group:          Themes
41 Requires:       gtk+
42 Requires:       theme-QtCurve-common
43
44
45 %description -n gtk-theme-QtCurve
46 A free and corrected port of Redhat's gtk/qt theme. gtk version.
47
48 %description -n gtk-theme-QtCurve -l pl
49 Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata.
50 Wersja pod gtk.
51
52 %package -n gtk2-theme-QtCurve
53 Summary:        A free and corrected port of Redhat's gtk/qt theme
54 Summary(pl):    Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata
55 Group:          Themes
56 Requires:       gtk+
57 Requires:       theme-QtCurve-common
58
59
60 %description -n gtk2-theme-QtCurve
61 A free and corrected port of Redhat's gtk/qt theme. gtk2 version.
62
63 %description -n gtk2-theme-QtCurve -l pl
64 Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata.
65 Wersja pod gtk2.
66
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 tematu gtk/qt zrobionego przez Redhata - common
70 Group:          Themes
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
76
77
78 %description -n theme-QtCurve-common
79 A free and corrected port of Redhats gtk/qt theme.
80 Documentation and common files package.
81
82 %description -n theme-QtCurve-common -l pl
83 Darmowa i poprawiona wersja tematu gtk/qt zrobionego przez Redhata.
84 Pakiet z dokumentacja i plikami wspó³dzielonymi.
85
86 %prep
87 %setup -q
88
89 %build
90 cp /usr/share/automake/config.sub admin
91
92 %{!?with_gtk:export "DO_NOT_COMPILE=gtk gtk2"}
93
94 %configure
95
96 %{__make}
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100
101 %{__make} install \
102         DESTDIR=$RPM_BUILD_ROOT
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %files -n kde-style-QtCurve
108 %defattr(644,root,root,755)
109 %{_libdir}/kde3/kstyle_qtcurve_config.la
110 %attr(755,root,root) %{_libdir}/kde3/kstyle_qtcurve_config.so
111 %{_libdir}/kde3/plugins/styles/*.la
112 %attr(755,root,root) %{_libdir}/kde3/plugins/styles/*.so
113 %{_datadir}/apps/kstyle/themes/qtcurve*.themerc
114
115 %if %{with gtk}
116 %files -n gtk-theme-QtCurve
117 %defattr(644,root,root,755)
118 %{_libdir}/gtk/themes/engines/*.la
119 %attr(755,root,root) %{_libdir}/gtk/themes/engines/*.so
120 %{_datadir}/themes/QtCurve*/gtk
121
122 %files -n gtk2-theme-QtCurve
123 %defattr(644,root,root,755)
124 %{_libdir}/gtk-2.0/*/*/*.la
125 %attr(755,root,root) %{_libdir}/gtk-2.0/*/*/*.so
126 %{_datadir}/themes/QtCurve*/gtk-2.0
127
128 %files -n theme-QtCurve-common
129 %defattr(644,root,root,755)
130 %doc ChangeLog README TODO
131 %dir %{_datadir}/themes/QtCurve*
132 %endif
This page took 0.064296 seconds and 3 git commands to generate.