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

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

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

%define base_name rox-filer
Name: rox-base
Version: 2.5
Release: alt1

Summary: ROX desktop enviroment
License: GNU GPL
Group: Graphical desktop/Other

Url: http://rox.sourceforge.net/
Source: http://prdownloads.sourceforge.net/%base_name/%base_name-%version.tar.bz2
Source1: rox-startup.sh
Packager: Eugene Ostapets <eostapets at altlinux.ru>

Patch0: rox-i18n-standard-path.patch
Patch1: rox-images-standard-path.patch
Patch2: rox-user-config.patch
Patch3: rox-fix-help-path.patch

Patch50: rox-2.3-rootmenu.patch
Patch51: rox-2.3-workplace.patch

# Automatically added by buildreq on Thu Oct 05 2006

BuildRequires: fontconfig imake libXt-devel libgtk+2-devel libxml2-devel xorg-cf-files pkgconfig

%description
ROX is a desktop environment, like GNOME, KDE and XFCE.  It is an attempt to bring some of the good features from RISC OS to Unix and Linux.
%prep
%setup -q -n %base_name-%version
%patch0 -p1
%patch1 -p1
#%%patch2 -p1
%patch3 -p1

#%%patch50 -p1

#%%patch51 -p1

%build
%__mkdir ROX-Filer/build
cd ROX-Filer/build
../src/configure \
--enable-rox
%make

%install
%__mkdir -p %buildroot%_libdir/rox/ROX-Filer
%__mkdir -p %buildroot/usr/{bin,share/{mime/packages,Choices,man/man1,rox/{images,help,ROX/MIME}}}
%__install -m 755 ROX-Filer/ROX-Filer %buildroot%_libdir/rox/ROX-Filer
%__install -m 755 ROX-Filer/AppRun %buildroot%_libdir/rox/ROX-Filer
%__install -m 644 rox.xml %buildroot%_datadir/mime/packages
%__install -m 644 rox.1 %buildroot%_mandir/man1
ln -s %buildroot%_mandir/man1/rox.1 %buildroot%_mandir/man1/ROX-Filer.1
%__install -m 755 Choices/MIME-types/application_postscript %buildroot%_datadir/Choices
%__install -m 755 Choices/MIME-types/text %buildroot%_datadir/Choices
%__install -m 755 Choices/MIME-types/text_html %buildroot%_datadir/Choices
#install languages
%__install -Dm 644 ROX-Filer/Messages/cs.gmo %buildroot%_datadir/locale/cs/LC_MESSAGES/ROX-Filer.mo
%__install -Dm 644 ROX-Filer/Messages/da.gmo %buildroot%_datadir/locale/da/LC_MESSAGES/ROX-Filer.mo
%__install -Dm 644 ROX-Filer/Messages/de.gmo %buildroot%_datadir/locale/de/LC_MESSAGES/ROX-Filer.mo
%__install -Dm 644 ROX-Filer/Messages/es.gmo %buildroot%_datadir/locale/es/LC_MESSAGES/ROX-Filer.mo
%__install -Dm 644 ROX-Filer/Messages/fi.gmo %buildroot%_datadir/locale/fi/LC_MESSAGES/ROX-Filer.mo
%__install -Dm 644 ROX-Filer/Messages/fr.gmo %buildroot%_datadir/locale/fr/LC_MESSAGES/ROX-Filer.mo
%__install -Dm 644 ROX-Filer/Messages/hu.gmo %buildroot%_datadir/locale/hu/LC_MESSAGES/ROX-Filer.mo
%__install -Dm 644 ROX-Filer/Messages/it.gmo %buildroot%_datadir/locale/it/LC_MESSAGES/ROX-Filer.mo
%__install -Dm 644 ROX-Filer/Messages/ja.gmo %buildroot%_datadir/locale/ja/LC_MESSAGES/ROX-Filer.mo
%__install -Dm 644 ROX-Filer/Messages/nl.gmo %buildroot%_datadir/locale/nl/LC_MESSAGES/ROX-Filer.mo
%__install -Dm 644 ROX-Filer/Messages/no.gmo %buildroot%_datadir/locale/no/LC_MESSAGES/ROX-Filer.mo
%__install -Dm 644 ROX-Filer/Messages/pl.gmo %buildroot%_datadir/locale/pl/LC_MESSAGES/ROX-Filer.mo
%__install -Dm 644 ROX-Filer/Messages/pt_BR.gmo %buildroot%_datadir/locale/pt_BR/LC_MESSAGES/ROX-Filer.mo
%__install -Dm 644 ROX-Filer/Messages/ro.gmo %buildroot%_datadir/locale/ro/LC_MESSAGES/ROX-Filer.mo
%__install -Dm 644 ROX-Filer/Messages/ru.gmo %buildroot%_datadir/locale/ru/LC_MESSAGES/ROX-Filer.mo
%__install -Dm 644 ROX-Filer/Messages/sv.gmo %buildroot%_datadir/locale/sv/LC_MESSAGES/ROX-Filer.mo
%__install -Dm 644 ROX-Filer/Messages/zh_CN.gmo %buildroot%_datadir/locale/zh_CN/LC_MESSAGES/ROX-Filer.mo
%__install -Dm 644 ROX-Filer/Messages/zh_TW.gmo %buildroot%_datadir/locale/zh_TW/LC_MESSAGES/ROX-Filer.mo

#install default theme

%__install -m 644 ROX-Filer/ROX/index.theme %buildroot%_datadir/rox/ROX
%__cp ROX-Filer/ROX/MIME/* %buildroot%_datadir/rox/ROX/MIME/
%__cp ROX-Filer/images/* %buildroot%_datadir/rox/images/


%__cp ROX-Filer/Help/*.html %buildroot%_datadir/rox/help
%__install -m 644 ROX-Filer/.DirIcon %buildroot%_libdir/rox/ROX-Filer
%__install -m 644 ROX-Filer/AppInfo.xml %buildroot%_libdir/rox/ROX-Filer
%__install -m 644 ROX-Filer/Options.xml %buildroot%_libdir/rox/ROX-Filer
%__install -m 644 ROX-Filer/style.css %buildroot%_libdir/rox/ROX-Filer
%__install -m 755 %SOURCE1 %buildroot%_bindir/rox
%__subst "s| at LIBDIR at |%_libdir|g" %buildroot%_bindir/rox

%files
%_bindir/*
%_libdir/rox/*
%_datadir/rox/*
%_datadir/mime/packages/*
%_datadir/Choices
%_datadir/locale/*/*/*
%_mandir/man*/*
%doc ROX-Filer/Help/README ROX-Filer/Help/TODO ROX-Filer/Help/Changes

%changelog

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

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