Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37560393
en ru br
Репозитории ALT
S:1.9.1-alt1.git4e56a76a
5.1: 0.69.2-alt1
4.1: 0.59.0-alt1
4.0: 0.55.2-alt0.M40.1
3.0: 0.23.1-alt1
www.altlinux.org/Changes

Группа :: Графические оболочки/Прочее
Пакет: qtcurve

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_enable qt4

Name: qtcurve
Version: 0.69.2
Release: alt1
Serial: 1

Summary: QtCurve (KDE and GTK2 style)
License: GPLv2
Group: Graphical desktop/Other
Url: http://www.kde-look.org/content/show.php?content=40492

Packager: Andrey Rahmatullin <wrar at altlinux.ru>

Source: %name-%version.tar
Patch1: QtCurve-Gtk2-0.65.0-alt-qtrc.patch
Patch2: QtCurve-Gtk2-0.62.4-alt-icons.patch
Patch3: QtCurve-KDE3-0.55.0-alt-link.patch

BuildRequires(pre): kde-common-devel
BuildPreReq: gcc-c++ libgtk+2-devel kdelibs-devel kde4libs-devel
BuildPreReq: kde4base-workspace-devel

%description
This is a set of widget styles for KDE and GTK2 based apps.
The underlying code is based upon Blue/FreeCurve - however,
*extensive* modifications have been made.

%package -n kde4-styles-%name
Group: Graphical desktop/KDE
Summary: QtCurve style for KDE 4

%description -n kde4-styles-%name
This is a set of widget styles for KDE 4

%package -n qt4-styles-%name
Group: Graphical desktop/KDE
Summary: QtCurve style for Qt4
Conflicts: kde4-styles-%name

%description -n qt4-styles-%name
This is a set of widget styles for Qt4

%package -n kde-styles-%name
Group: Graphical desktop/KDE
Summary: QtCurve style for KDE

%description -n kde-styles-%name
This is a set of widget styles for KDE

%package -n gtk2-themes-%name
Summary: The QtCurve engine for GTK2
Group: Graphical desktop/GNOME
Provides: gtk-engines-%name
Obsoletes: gtk-engines-%name < %version-%release gtk1-themes-%name < %version-%release

%description -n gtk2-themes-%name
The QtCurve engine for GTK2

%prep
%setup

%patch1 -p0
%patch2 -p0
%patch3 -p0

%build
pushd QtCurve-KDE4
%if_enabled qt4
# Qt4
%K4cmake -DQTC_QT_ONLY:BOOL=1
%K4make
mv BUILD-%_target_platform{,-qt}
%endif
# KDE4
%K4build
popd

mkdir QtCurve-KDE3/build
pushd QtCurve-KDE3/build
# KDE3
cmake .. \
       -DCMAKE_C_FLAGS:STRING="%optflags" \
       -DCMAKE_CXX_FLAGS:STRING="%optflags"
%make_build VERBOSE=1
popd

mkdir QtCurve-Gtk2/build
pushd QtCurve-Gtk2/build
# Gtk2
cmake .. \
       -DCMAKE_C_FLAGS:STRING="%optflags"
%make_build VERBOSE=1
popd

%install
%makeinstall_std -C QtCurve-KDE4/BUILD-%_target_platform/
%makeinstall_std -C QtCurve-KDE3/build/
%makeinstall_std -C QtCurve-Gtk2/build/

%if_enabled qt4
install -pD -m644 QtCurve-KDE4/BUILD-%_target_platform-qt/style/%name.so %buildroot%_qt4dir/plugins/styles/%name.so
%endif

%files -n kde4-styles-%name
%_K4lib/*.so
%_K4plug/styles/*.so
%_K4apps/QtCurve
%_K4apps/kstyle/themes/*.themerc
%_K4apps/color-schemes/*.colors
%_K4apps/kwin/*.desktop
%doc QtCurve-KDE4/AUTHORS QtCurve-KDE4/ChangeLog QtCurve-KDE4/README QtCurve-KDE4/TODO

%if_enabled qt4
%files -n qt4-styles-%name
%dir %_qt4dir/plugins/styles/
%_qt4dir/plugins/styles/%name.so
%endif

%files -n kde-styles-%name
%_libkde/kstyle_qtcurve_config.so*
%_libkde/plugins/styles/*.so*
%_datadir/apps/kstyle/themes/*.themerc
%_datadir/apps/kdisplay/color-schemes/*.kcsrc
%_datadir/apps/QtCurve
%doc QtCurve-KDE3/AUTHORS QtCurve-KDE3/ChangeLog QtCurve-KDE3/README QtCurve-KDE3/TODO

%files -n gtk2-themes-%name
%_libdir/gtk-2.0/*/engines/lib%name.so*
%dir %_datadir/themes/QtCurve
%_datadir/themes/QtCurve/gtk-2.0
%dir %_datadir/themes/QtCurve/mozilla
%_datadir/themes/QtCurve/mozilla/preferences-rev.xml
%_datadir/themes/QtCurve/mozilla/QtCurve.css
%_datadir/themes/QtCurve/mozilla/QtCurve-KDEButtonOrder.css
%doc QtCurve-Gtk2/AUTHORS QtCurve-Gtk2/ChangeLog QtCurve-Gtk2/README QtCurve-Gtk2/TODO


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin