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