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