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

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

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

Name: enlightenment
Version: 0.16.8.9
Release: alt1
%define prefix %_x11dir
Serial: 1

Summary: The Enlightenment window manager
License: GPL
Group: Graphical desktop/Enlightenment
Url: http://www.enlightenment.org/
Packager: Pavlov Konstantin <thresh at altlinux.ru>

Source: %name-%version.2.tar.gz
Source1: Enlightenment.xpm
Source2: start%name
Source3: %name.wmsession

Source5: %name-menu.method
Source6: %name.xpm
Source7: %name-32.xpm
Source8: winter.tar

# Automatically added by buildreq on Tue Dec 14 2004

BuildRequires: esound-devel freetype2-devel imlib2-devel libaudiofile-devel zlib-devel
BuildRequires: libSM-devel libpango-devel libXft-devel libmesa-devel
BuildRequires: libXext-devel libXinerama-devel libXxf86vm-devel
BuildRequires: libXScrnSaver-devel libXrandr-devel libXcomposite-devel
BuildRequires: libXdamage-devel libXfixes-devel libXrender-devel
BuildRequires: xorg-x11-bitmaps

%description
Enlightenment is a window manager for the X Window System that is designed to
be powerful, extensible, configurable and pretty darned good looking! It is one
of the more graphically intense window managers.

Enlightenment goes beyond managing windows by providing a useful and appealing
graphical shell from which to work. It is open in design and instead of
dictating a policy, allows the user to define their own policy, down to every
last detail.

This package will install the Enlightenment window manager.

%prep
%setup -q -n %name-%version.2
%setup -q -T -D -c -n %name-%version.2 -a 8

perl -pi -e 's,/\$\(datadir\),%_datadir,g' po/Makefile.in.in
perl -pi -e 's,\${prefix}/\${DATADIRNAME}/locale,%_datadir/locale,g' configure

%build
CFLAGS="$CFLAGS -I%_includedir/gnome-1.0" LOCALEDIR=%_datadir/locale %configure \
--prefix=%_x11dir \
--bindir=\${prefix}/bin \
--mandir=\${prefix}/man \
--datadir=\${prefix}/share \
--libexecdir=\${prefix}/lib/X11 \
--sysconfdir=%_sysconfdir/X11/%name \
--enable-fsstd \
--enable-sound \
--enable-upgrade \
--enable-pango \
--enable-glx \
--with-esd-prefix=%_prefix \
--with-imlib-prefix=%_prefix \
--enable-zoom \
--enable-xrandr

%make_build

%install
# configure script has a bug, localedir uses the prefix value instead
# of $prefix so it is needed to redefine it here with the build root value
%make_install install DESTDIR=%buildroot localedir=%_datadir/locale

# Menu

mkdir -p %buildroot%_sysconfdir/X11/%name/menus
perl -lwne '/^__E_CFG_VERSION 0$/ and print("$_\n\n", qw at BEGIN_NEW_FILE_MENU("ALTLINUX_MENU", "ROOT", "/etc/X11/%name/menus/altlinux.menu") at , "\nEND_MENU") or /^ADD_MENU_SUBMENU_TEXT_ITEM.*APPS_SUBMENU/ and print("$_\n", qw at ADD_MENU_SUBMENU_TEXT_ITEM("Applications",        "ALTLINUX_MENU") at ) or print;' config/menus.cfg > %buildroot/%prefix/share/e16/config/menus.cfg

# Menu method

%__install -pD -m755 %SOURCE5 %buildroot%_sysconfdir/menu-methods/%name

# Install icons

%__install -pD -m644 %SOURCE6 %buildroot%_miconsdir/%name.xpm
%__install -pD -m644 %SOURCE7 %buildroot%_iconsdir/%name.xpm
%__install -p -m644 %SOURCE1 %buildroot%_iconsdir/

%__install -d %buildroot%_menudir
cat << EOF > %buildroot%_menudir/%name
?package(%name): needs=wm section=Session/Windowmanagers icon=%name.xpm title=Enlightenment command=%_x11bindir/%name
EOF

# wmsession.d

%__install -p -m755 %SOURCE2 %buildroot%_x11bindir/
%__install -pD -m644 %SOURCE3 %buildroot%_sysconfdir/X11/wmsession.d/05Enlightenment

%__rm %buildroot%_x11bindir/starte16

%find_lang e16

%add_findreq_skiplist %_bindir/*.pl
%add_findreq_skiplist %_datadir/e16/E-docs/*.pl
%add_findreq_skiplist %_datadir/e16/config/*.pl
%add_findreq_skiplist %_datadir/e16/themes/*
%add_findprov_skiplist %_bindir/*.pl
%add_findprov_skiplist %_datadir/%name/E-docs/*.pl
%add_findprov_skiplist %_datadir/%name/config/*.pl
%add_findprov_skiplist %_datadir/%name/themes/*

%post
%update_menus
%update_wms

%postun
%clean_menus
%clean_wms

%files -f e16.lang
%doc AUTHORS COMPLIANCE ChangeLog README
%config(noreplace) %_sysconfdir/menu-methods/*
%dir %_sysconfdir/X11/enlightenment
%config(noreplace) %_sysconfdir/X11/enlightenment/menus
%config %_sysconfdir/X11/wmsession.d/*
%_menudir/*
%_iconsdir/*.xpm
%_iconsdir/*/*/*/*.xpm
%_bindir/*
%_libdir/*.so
%_datadir/e16
%_datadir/xsessions/*

%changelog

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

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