]> git.pld-linux.org Git - packages/QtCurve.git/blame - QtCurve.spec
- really copy user.js
[packages/QtCurve.git] / QtCurve.spec
CommitLineData
e2138fbb 1# TODO:
e78c8e0f
ER
2# - kde4
3# - gtk1 no longer updated. drop?
4# - include /usr/share/themes/QtCurve/mozilla somewhere
5# - unpackaged:
df5f2cf9 6#
7286a96e 7# Conditional build:
00a3d52c
KK
8%bcond_with gtk # build GTK styles
9%bcond_without gtk2 # don't build GTK+2 styles
7286a96e 10#
e2138fbb
ER
11%define kde_ver 0.55.1
12%define gtk2_ver 0.55.1
2327ea5c 13%define gtk1_ver 0.42.2
27b2bea1 14Summary: A free and corrected port of Red Hat's GTK+/Qt theme
90b035bc 15Summary(pl.UTF-8): Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata
754634b4 16Name: QtCurve
e2138fbb 17Version: 0.55.1
0935fb48 18Release: 1
754634b4
JB
19License: GPL
20Group: Themes
e2138fbb
ER
21Source0: http://home.freeuk.com/cpdrummond/%{name}-KDE3-%{kde_ver}.tar.bz2
22# Source0-md5: 1ba394626a40e8926966739500dbf87d
23Source1: http://home.freeuk.com/cpdrummond/%{name}-Gtk2-%{gtk2_ver}.tar.bz2
24# Source1-md5: 0d5eeb45990c3ecf060daa68a2ed2e6f
2327ea5c
KK
25Source2: http://home.freeuk.com/cpdrummond/%{name}-Gtk1-%{gtk1_ver}.tar.gz
26# Source2-md5: 8219f58493ca4e65a8fe61ee76eca522
4f778ef9 27Patch0: %{name}-Gtk2-userjs.patch
a14cbe44 28URL: http://www.kde-look.org/content/show.php?content=40492
00a3d52c 29BuildRequires: autoconf
47b9c578 30BuildRequires: automake
e78c8e0f 31BuildRequires: cmake
b7ff1e84 32%{?with_gtk:BuildRequires: gtk+-devel}
00a3d52c 33%{?with_gtk2:BuildRequires: gtk+2-devel}
387c4dbb 34BuildRequires: kdelibs-devel >= 3.1
2327ea5c 35BuildRequires: libtool
00a3d52c 36BuildRequires: pkgconfig
e78c8e0f 37BuildRequires: rpmbuild(macros) >= 1.293
f7bfae83 38BuildRequires: sed > 4.0
754634b4
JB
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%description
27b2bea1 42A free and corrected port of Red Hat's GTK+/Qt theme.
754634b4 43
d7edd7b0 44%description -l pl.UTF-8
27b2bea1 45Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata.
754634b4 46
4e7ad8f7 47%package -n kde-style-QtCurve
27b2bea1 48Summary: A free and corrected port of Red Hat's GTK+/Qt theme
90b035bc 49Summary(pl.UTF-8): Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata
754634b4 50Group: Themes
387c4dbb 51Requires: kdelibs >= 3.1
754634b4 52
4e7ad8f7 53%description -n kde-style-QtCurve
27b2bea1 54A free and corrected port of Red Hat's GTK+/Qt theme. KDE version.
754634b4 55
d7edd7b0 56%description -n kde-style-QtCurve -l pl.UTF-8
27b2bea1 57Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata.
27a34c4d 58Wersja pod KDE.
754634b4 59
4e7ad8f7 60%package -n gtk-theme-QtCurve
27b2bea1 61Summary: A free and corrected port of Red Hat's GTK+/Qt theme
90b035bc 62Summary(pl.UTF-8): Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata
5474a1c3 63Group: Themes
7286a96e 64Requires: theme-QtCurve-common = %{version}-%{release}
754634b4 65
4e7ad8f7 66%description -n gtk-theme-QtCurve
27b2bea1 67A free and corrected port of Red Hat's GTK+/Qt theme. GTK+ version.
754634b4 68
d7edd7b0 69%description -n gtk-theme-QtCurve -l pl.UTF-8
27b2bea1 70Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata.
4b59ebdb 71Wersja pod GTK+.
754634b4 72
4e7ad8f7 73%package -n gtk2-theme-QtCurve
27b2bea1 74Summary: A free and corrected port of Red Hat's GTK+/Qt theme
90b035bc 75Summary(pl.UTF-8): Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata
5474a1c3 76Group: Themes
7286a96e 77Requires: theme-QtCurve-common = %{version}-%{release}
754634b4 78
4e7ad8f7 79%description -n gtk2-theme-QtCurve
27b2bea1 80A free and corrected port of Red Hat's GTK+/Qt theme. GTK+2 version.
754634b4 81
d7edd7b0 82%description -n gtk2-theme-QtCurve -l pl.UTF-8
27b2bea1 83Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata.
4b59ebdb 84Wersja pod GTK+2.
754634b4 85
4e7ad8f7 86%package -n theme-QtCurve-common
4b59ebdb 87Summary: A free and corrected port of Redhats GTK+/Qt theme - common
90b035bc 88Summary(pl.UTF-8): Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata - common
5474a1c3 89Group: Themes
5474a1c3 90Obsoletes: gtk-theme-bluecurve
e78c8e0f 91Obsoletes: gtk2-theme-bluecurve
5474a1c3 92Obsoletes: kde-style-bluecurve
93Obsoletes: kde-theme-bluecurve
e78c8e0f 94Obsoletes: theme-bluecurve-common
6b908541 95
4e7ad8f7 96%description -n theme-QtCurve-common
e78c8e0f
ER
97A free and corrected port of Red Hat's GTK+/Qt theme. Documentation
98and common files package.
754634b4 99
d7edd7b0 100%description -n theme-QtCurve-common -l pl.UTF-8
27b2bea1 101Darmowa i poprawiona wersja motywu GTK+/Qt zrobionego przez Red Hata.
d7edd7b0 102Pakiet z dokumentacja i plikami współdzielonymi.
754634b4
JB
103
104%prep
e78c8e0f 105%setup -q -c %{?with_gtk2:-a1} %{?with_gtk:-a2}
4f778ef9
ER
106%if %{with gtk2}
107cd %{name}-Gtk2-%{gtk2_ver}
108%patch0 -p1
109cd -
110%endif
754634b4
JB
111
112%build
2327ea5c 113cd %{name}-KDE3-%{kde_ver}
e78c8e0f
ER
114%cmake \
115 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
116 .
754634b4 117%{__make}
2327ea5c
KK
118cd -
119
120%if %{with gtk}
121cd %{name}-Gtk1-%{gtk1_ver}
122%{__libtoolize}
123%{__aclocal}
124%{__autoconf}
125%{__autoheader}
126%{__automake}
127%configure
128%{__make}
129cd -
130%endif
131
132%if %{with gtk2}
133cd %{name}-Gtk2-%{gtk2_ver}
e78c8e0f
ER
134%cmake \
135 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
136 .
2327ea5c
KK
137%{__make}
138cd -
139%endif
754634b4
JB
140
141%install
142rm -rf $RPM_BUILD_ROOT
143
2327ea5c 144%{__make} -C %{name}-KDE3-%{kde_ver} install \
27a34c4d 145 DESTDIR=$RPM_BUILD_ROOT
754634b4 146
2327ea5c
KK
147%if %{with gtk}
148%{__make} -C %{name}-Gtk1-%{gtk1_ver} install \
149 DESTDIR=$RPM_BUILD_ROOT
150%endif
151
152%if %{with gtk2}
153%{__make} -C %{name}-Gtk2-%{gtk2_ver} install \
154 DESTDIR=$RPM_BUILD_ROOT
155%endif
156
7286a96e
JB
157rm -f $RPM_BUILD_ROOT{%{_libdir}/gtk/themes/engines,%{_libdir}/gtk-2.0/*/*}/*.la
158
754634b4
JB
159%clean
160rm -rf $RPM_BUILD_ROOT
161
4e7ad8f7 162%files -n kde-style-QtCurve
754634b4 163%defattr(644,root,root,755)
a5ccfc6f 164%{_libdir}/kde3/kstyle_qtcurve_config.la
165%attr(755,root,root) %{_libdir}/kde3/kstyle_qtcurve_config.so
e78c8e0f 166#%{_libdir}/kde3/plugins/styles/*.la
754634b4 167%attr(755,root,root) %{_libdir}/kde3/plugins/styles/*.so
6b908541 168%{_datadir}/apps/kstyle/themes/qtcurve*.themerc
e78c8e0f 169%{_datadir}/apps/kstyle/themes/qtc_klearlooks.themerc
19458cf5 170%{_datadir}/apps/QtCurve
754634b4 171
5890c07d 172%if %{with gtk}
4e7ad8f7 173%files -n gtk-theme-QtCurve
754634b4 174%defattr(644,root,root,755)
754634b4 175%attr(755,root,root) %{_libdir}/gtk/themes/engines/*.so
2327ea5c 176%{_datadir}/themes/QtCurve/gtk
00a3d52c 177%endif
754634b4 178
00a3d52c 179%if %{with gtk2}
4e7ad8f7 180%files -n gtk2-theme-QtCurve
754634b4 181%defattr(644,root,root,755)
754634b4 182%attr(755,root,root) %{_libdir}/gtk-2.0/*/*/*.so
2327ea5c 183%{_datadir}/themes/QtCurve/gtk-2.0
e78c8e0f 184%{_datadir}/themes/QtCurve/mozilla
00a3d52c 185%endif
754634b4 186
4e7ad8f7 187%files -n theme-QtCurve-common
754634b4 188%defattr(644,root,root,755)
2327ea5c
KK
189%doc %{name}-KDE3-%{kde_ver}/{ChangeLog,README,TODO}
190%dir %{_datadir}/themes/QtCurve
This page took 0.190466 seconds and 4 git commands to generate.