Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37536682
en ru br
Репозитории ALT
5.1: 1.0.4-alt4
4.1: 1.0.4-alt2
4.0: 1.0.4-alt2
3.0: 1.0.2-alt3
www.altlinux.org/Changes

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

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

%def_enable gtk1
%undefine __libtoolize
%define themename galaxy

Summary: Visual themes from MandrivaLinux
Summary(ru_RU.CP1251): рЕЛШ НТНПЛКЕМХЪ ПЮАНВЕЦН ЯРНКЮ ХГ MandrivaLinux
Name: galaxy-themes
Version: 1.0.2
Release: alt3
License: GPL
Group: Graphical desktop/Other
Url: http://www.mandrivalinux.com/

Packager: Andrey Rahmatullin <wrar at altlinux.ru>

Source0: %themename-%version.tar.bz2
# from Mdk's kdebase-common-3.2-70mdk
Source1: Galaxy.kcsrc
Patch0: %themename-alt-ru.patch

BuildRequires: XFree86-devel XFree86-libs fontconfig freetype2 gcc-c++
BuildRequires: gdk-pixbuf-devel glib-devel glib2-devel gtk+-devel
BuildRequires: kdebase-devel kdebase-wm
BuildRequires: libarts-devel libatk-devel libgtk+2-devel libjpeg-devel
BuildRequires: libpango-devel libpng-devel libstdc++-devel
BuildRequires: pkgconfig zlib-devel

BuildPreReq: libqt3-devel libqt3-devel-cxx = %__gcc_version_base
BuildPreReq: kdelibs-devel kdelibs-devel-cxx = %__gcc_version_base

%description
MandrivaLinux Galaxy themes for KDE & GNOME

%description -l ru_RU.CP1251
рЕЛШ НТНПЛКЕМХЪ Galaxy ДКЪ KDE Х GNOME

%package -n gtk2-themes-%themename
Summary: Galaxy theme for GTK2 (from Mdk)
Summary(ru_RU.CP1251): рЕЛЮ Galaxy ДКЪ GTK2 (ХГ Mdk)
Group: Graphical desktop/GNOME
Obsoletes: gtk-engines-%themename

%description -n gtk2-themes-%themename
GTK2 theme from MandrivaLinux

%description -n gtk2-themes-%themename -l ru_RU.CP1251
рЕЛЮ ДКЪ GTK2 ХГ MandrivaLinux


%if_enabled gtk1
%package -n gtk1-themes-%themename
Summary: Galaxy theme for GTK1 (from Mdk)
Summary(ru_RU.CP1251): рЕЛЮ Galaxy ДКЪ GTK1 (ХГ Mdk)
Group: Graphical desktop/GNOME
Obsoletes: gtk-engines-%themename
#Conflicts: gtk-engines-%themename

%description -n gtk1-themes-%themename
GTK1 theme from MandrivaLinux

%description -n gtk1-themes-%themename -l ru_RU.CP1251
рЕЛЮ ДКЪ GTK1 ХГ MandrivaLinux
%endif


%package -n kde-styles-%themename
Summary: Galaxy style for KDE (from Mdk)
Summary(ru_RU.CP1251): яРХКЭ Galaxy ДКЪ KDE (ХГ Mdk)
Group: Graphical desktop/KDE

%description -n kde-styles-%themename
KDE style from MandrivaLinux

%description -n kde-styles-%themename -l ru_RU.CP1251
яРХКЭ KDE ХГ MandrivaLinux

%package -n metacity-themes-%themename
Summary: Galaxy themes for Metacity (from Mdk)
Summary(ru_RU.CP1251): рЕЛШ Galaxy ДКЪ Metacity (ХГ Mdk)
Group: Graphical desktop/GNOME
Requires: metacity

%description -n metacity-themes-%themename
Metacity themes from MandrivaLinux

%description -n metacity-themes-%themename -l ru_RU.CP1251
рЕЛШ ДКЪ Metacity ХГ MandrivaLinux


%package -n gnome-themes-%themename
Summary: Galaxy themes for GNOME (from Mdk)
Summary(ru_RU.CP1251): рЕЛШ Galaxy (цЮКЮЙРХЙЮ) ДКЪ GNOME (ХГ Mdk)
Group: Graphical desktop/GNOME
Requires: gtk2-themes-%themename
%if_enabled gtk1
Requires: gtk1-themes-%themename
%endif
Requires: metacity-themes-%themename
Conflicts: metacity-themes <= 1.0.1-alt1.1

%description -n gnome-themes-%themename
GNOME theme from MandrivaLinux

%description -n gnome-themes-%themename -l ru_RU.CP1251
рЕЛЮ ДКЪ GNOME ХГ MandrivaLinux


%prep
%setup -q -n %themename-%version
%patch0 -p1

%__subst 's,\.la\>,.so,' configure
for i in mandrake_client mandrake_client2 mandrake_client3; do
 %__subst 's,\$(kde_libraries)\/libkdecorations\.la,-lkdecorations,' thememdk/$i/Makefile.in
done

%build
%add_optflags -Wno-unused -Wno-parentheses
%configure --disable-rpath
%make_build

%install
%makeinstall

%__subst 's,Thememdk,Galaxy,' %buildroot/%_datadir/apps/kstyle/themes/%themename.themerc

# use same config lib for all galaxy theme

%__cp %buildroot%_libdir/kde3/kwin_mandrake_config.la %buildroot%_libdir/kde3/kwin_mandrake2_config.la
%__cp %buildroot%_libdir/kde3/kwin_mandrake_config.so %buildroot%_libdir/kde3/kwin_mandrake2_config.so
%__cp %buildroot%_libdir/kde3/kwin_mandrake_config.la %buildroot%_libdir/kde3/kwin_mandrake3_config.la
%__cp %buildroot%_libdir/kde3/kwin_mandrake_config.so %buildroot%_libdir/kde3/kwin_mandrake3_config.so

%__mkdir_p %buildroot%_datadir/apps/kdisplay/color-schemes
%__install -p -m644 %SOURCE1 %buildroot%_datadir/apps/kdisplay/color-schemes/

%files -n gtk2-themes-%themename
%_libdir/gtk-2.0/*/engines/*.so
%_datadir/themes/*/gtk-2.0
#%config %dir %_datadir/themes/*
%doc AUTHORS ChangeLog

%if_enabled gtk1
%files -n gtk1-themes-%themename
%_libdir/gtk/themes/engines/*.so
%_datadir/themes/*/gtk
#%config %dir %_datadir/themes/*
%endif

%files -n metacity-themes-%themename
%_datadir/themes/*/metacity-1
%dir %_datadir/themes/*

%files -n kde-styles-%themename
%_libdir/kde3/*.la
%_libdir/kde3/*.so*
%_libdir/kde3/plugins/styles/*.la
%_libdir/kde3/plugins/styles/*.so*
%_datadir/apps/kwin/*.desktop
%_datadir/apps/kstyle/themes/*.themerc
%_datadir/apps/kdisplay/color-schemes/*

%files -n gnome-themes-%themename
%_datadir/themes/*/index.theme


%changelog

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

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