]> git.pld-linux.org Git - packages/QtCurve.git/blobdiff - QtCurve.spec
- Added gcc34.patch
[packages/QtCurve.git] / QtCurve.spec
index ad194ca0b71bac5e332d049095abdd8001038bf3..7a6620ae3596c01e1587685671fdcc4dd0ac2c95 100644 (file)
+#
+# Conditional build:
+%bcond_without gtk     # do not build gtk+(2) styles
+#
 Summary:       A free and corrected port of Redhats gtk/qt theme
-Summary(pl):   Wolna i poprawiona wersja tematu gtk/qt zrobionego przez Redhata
+Summary(pl):   Darmowa i poprawiona wersja tematu gtk/qt zrobionego przez Redhata
 Name:          QtCurve
-Version:       0.07
-Release:       3
+Version:       0.19
+Release:       2
 License:       GPL
 Group:         Themes
-# from         http://www.kde-look.org/content/download.php?content=5065
-# redirected to        http://www.kde-look.org/content/files/5065-%{name}-%{version}.tar.gz
-Source0:       %{name}-%{version}.tar.gz
-# Source0-md5: dbe87cc12125f4f2abff7928eb4c324e
+Source0:       http://www.cpdrummond.freeuk.com/%{name}-%{version}.tar.gz
+# Source0-md5: d7b8addee47e7f9903a75f0ff3a3ecb6
+Patch0:                %{name}-gcc34.patch
 URL:           http://www.kde-look.org/content/show.php?content=5065
+BuildRequires:  automake
 BuildRequires: kdelibs-devel >= 3.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-A free and corrected port of Redhat's gtk/qt theme, made by Craig
-Drummond <Craig.Drummond@lycos.co.uk>.
+A free and corrected port of Redhat's gtk/qt theme.
 
 %description -l pl
-Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata,
-autorstwa Craiga Drummonda <Craig.Drummond@lycos.co.uk>.
+Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata.
 
-%package -n kde-style-bluecurve
+%package -n kde-style-QtCurve
 Summary:       A free and corrected port of Redhat's gtk/qt theme
 Summary(pl):   Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata
 Group:         Themes
 Requires:      kdelibs >= 3.1
+
+%description -n kde-style-QtCurve
+A free and corrected port of Redhat's gtk/qt theme. KDE version.
+
+%description -n kde-style-QtCurve -l pl
+Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata.
+Wersja pod KDE.
+
+%package -n gtk-theme-QtCurve
+Summary:       A free and corrected port of Redhat's gtk/qt theme
+Summary(pl):   Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata
+Group:         Themes
+Requires:      gtk+
+Requires:      theme-QtCurve-common = %{version}-%{release}
+
+%description -n gtk-theme-QtCurve
+A free and corrected port of Redhat's gtk/qt theme. gtk version.
+
+%description -n gtk-theme-QtCurve -l pl
+Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata.
+Wersja pod gtk.
+
+%package -n gtk2-theme-QtCurve
+Summary:       A free and corrected port of Redhat's gtk/qt theme
+Summary(pl):   Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata
+Group:         Themes
+Requires:      gtk+
+Requires:      theme-QtCurve-common = %{version}-%{release}
+
+%description -n gtk2-theme-QtCurve
+A free and corrected port of Redhat's gtk/qt theme. gtk2 version.
+
+%description -n gtk2-theme-QtCurve -l pl
+Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata.
+Wersja pod gtk2.
+
+%package -n theme-QtCurve-common
+Summary:       A free and corrected port of Redhats gtk/qt theme - common
+Summary(pl):   Darmowa i poprawiona wersja tematu gtk/qt zrobionego przez Redhata - common
+Group:         Themes
+Obsoletes:     theme-bluecurve-common
+Obsoletes:     gtk2-theme-bluecurve
+Obsoletes:     gtk-theme-bluecurve
+Obsoletes:     kde-style-bluecurve
 Obsoletes:     kde-theme-bluecurve
 
-%description -n kde-style-bluecurve
-A free and corrected port of Redhat's gtk/qt theme, made by Craig
-Drummond <Craig.Drummond@lycos.co.uk>. KDE version.
-
-%description -n kde-style-bluecurve -l pl
-Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata,
-autorstwa Craiga Drummonda <Craig.Drummond@lycos.co.uk>. Wersja pod
-KDE.
-
-%package -n gtk-theme-bluecurve
-Summary:        A free and corrected port of Redhat's gtk/qt theme
-Summary(pl):    Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata
-Group:          Themes
-Requires:       gtk+ 
-Requires:       theme-bluecurve-common
-
-%description -n gtk-theme-bluecurve
-A free and corrected port of Redhat's gtk/qt theme, made by Craig
-Drummond <Craig.Drummond@lycos.co.uk>. gtk version.
-
-%description -n gtk-theme-bluecurve -l pl
-Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata,
-autorstwa Craiga Drummonda <Craig.Drummond@lycos.co.uk>. Wersja pod
-gtk.
-
-%package -n gtk2-theme-bluecurve
-Summary:        A free and corrected port of Redhat's gtk/qt theme
-Summary(pl):    Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata
-Group:          Themes
-Requires:       gtk+
-Requires:       theme-bluecurve-common
-
-%description -n gtk2-theme-bluecurve
-A free and corrected port of Redhat's gtk/qt theme, made by Craig
-Drummond <Craig.Drummond@lycos.co.uk>. gtk2 version.
-
-%description  -n gtk2-theme-bluecurve -l pl
-Darmowa i poprawiona wersja motywu gtk/qt zrobionego przez Redhata,
-autorstwa Craiga Drummonda <Craig.Drummond@lycos.co.uk>. Wersja pod
-gtk2.
-
-%package -n theme-bluecurve-common
-Summary:        A free and corrected port of Redhats gtk/qt theme - common
-Summary(pl):    Wolna i poprawiona wersja tematu gtk/qt zrobionego przez Redhata - common
-Group:          Themes
-
-%description -n theme-bluecurve-common
-A free and corrected port of Redhats gtk/qt theme, made by Craig 
-Drummond (Craig.Drummond@lycos.co.uk) Documentation and common 
-files package.
-
-%description  -n theme-bluecurve-common -l pl
-Wolna i poprawiona wersja tematu gtk/qt zrobionego przez Redhata, 
-autorstwa Craig Drummond (Craig.Drummond@lycos.co.uk) Pakiet z 
-dokumentacja i plikami wspó³dzielonymi.
+%description -n theme-QtCurve-common
+A free and corrected port of Redhats gtk/qt theme.
+Documentation and common files package.
+
+%description -n theme-QtCurve-common -l pl
+Darmowa i poprawiona wersja tematu gtk/qt zrobionego przez Redhata.
+Pakiet z dokumentacja i plikami wspó³dzielonymi.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+cp /usr/share/automake/config.sub admin
+
+%{!?with_gtk:export "DO_NOT_COMPILE=gtk gtk2"}
+##export UNSERMAKE=/usr/share/unsermake/unsermake
+##%{__make} -f admin/Makefile.common cvs
 %configure
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT{%{_libdir}/gtk/themes/engines,%{_libdir}/gtk-2.0/*/*}/*.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -n kde-style-bluecurve
+%files -n kde-style-QtCurve
 %defattr(644,root,root,755)
+%{_libdir}/kde3/kstyle_qtcurve_config.la
+%attr(755,root,root) %{_libdir}/kde3/kstyle_qtcurve_config.so
 %{_libdir}/kde3/plugins/styles/*.la
 %attr(755,root,root) %{_libdir}/kde3/plugins/styles/*.so
-%{_datadir}/apps/kstyle/themes/qtcurve.themerc
+%{_datadir}/apps/kstyle/themes/qtcurve*.themerc
 
-%files -n gtk-theme-bluecurve
+%if %{with gtk}
+%files -n gtk-theme-QtCurve
 %defattr(644,root,root,755)
-%{_libdir}/gtk/themes/engines/*.la
 %attr(755,root,root) %{_libdir}/gtk/themes/engines/*.so
-%{_datadir}/themes/QtCurve/gtk
+%{_datadir}/themes/QtCurve*/gtk
 
-%files -n gtk2-theme-bluecurve
+%files -n gtk2-theme-QtCurve
 %defattr(644,root,root,755)
-%{_libdir}/gtk-2.0/*/*/*.la
 %attr(755,root,root) %{_libdir}/gtk-2.0/*/*/*.so
-%{_datadir}/themes/QtCurve/gtk-2.0
+%{_datadir}/themes/QtCurve*/gtk-2.0
 
-%files -n theme-bluecurve-common
+%files -n theme-QtCurve-common
 %defattr(644,root,root,755)
 %doc ChangeLog README TODO
-%dir %{_datadir}/themes/QtCurve 
+%dir %{_datadir}/themes/QtCurve*
+%endif
This page took 0.053379 seconds and 4 git commands to generate.