[devel] I: new package
Денис Смирнов
=?iso-8859-1?q?mithraen_=CE=C1_altlinux=2Eru?=
Ср Сен 1 01:00:28 MSD 2004
On Sat, Aug 28, 2004 at 07:35:54PM +0400, Peter V. Saveliev wrote:
PVS> В инкаминг залил ion, точнее, его quick'n'dirty сборку под Сизифом.
PVS> Довольно любопытный вариант оконного менеджера.
Ура! Я начинал его собирать, но до конца так и не допилил. Если есть
интерес, вот мои spec'и.
--
С уважением, Денис
http://freesource.info
----------- следующая часть -----------
Name: ion2
Version: 0.1
Release: alt1
Epoch: 20040207
Summary: ion2 window manager
License: GPL
Group: System/Kernel and hardware
#Url: http://mkp.net/fstyp/
Source: ion-2-%epoch.tar.gz
Patch1: ion2.patch
# Automatically added by buildreq on Wed Feb 18 2004
BuildRequires: XFree86-devel-static libltdl-devel liblua5-devel lua5
%description
ion2 --fast lightweight window manager
%prep
%setup -q -c
%patch1 -p1
%build
cd ion-2-%epoch
export LUAC=luac5
%configure --prefix=/ --exec-prefix=/
%make_build
%install
cd ion-2-%epoch
%makeinstall prefix=%buildroot exec_prefix=%buildroot
%__mkdir -p %buildroot/etc/X11/wmsession.d/
cat > %buildroot/etc/X11/wmsession.d/05Ion << EOF
NAME=Ion
ICON=/usr/share/icons/IceWM.xpm
EXEC=/usr/X11R6/bin/startion
DESC=Lightweight desktop environment
SCRIPT:
exec /usr/X11R6/bin/startion
EOF
%__mkdir -p %buildroot/usr/X11R6/bin
cat > %buildroot/usr/X11R6/bin/startion << EOF
#!/bin/sh
#/usr/X11R6/bin/xsetroot -cursor_name watch
/usr/bin/ion -i18n "$@"
#/usr/X11R6/bin/xsetroot -cursor_name X_cursor
EOF
%files
%_mandir/man1/*
/usr/share/ion
/usr/lib/ion
/usr/bin/*
/etc/ion
/etc/X11/wmsession.d/*
/usr/X11R6/bin/startion
%changelog
* Wed Feb 18 2004 Denis Smirnov <mithraen на altlinux.ru> 20040207:0.1-alt1
- Build for Sisyphus
----------- следующая часть -----------
diff -urN ion2-0.1-orig/ion-2-20040207/system-ac.mk.in ion2-0.1/ion-2-20040207/system-ac.mk.in
--- ion2-0.1-orig/ion-2-20040207/system-ac.mk.in 2004-01-27 16:49:08 +0300
+++ ion2-0.1/ion-2-20040207/system-ac.mk.in 2004-02-18 17:24:15 +0300
@@ -7,30 +7,29 @@
## Installation paths
##
-prefix=@prefix@
exec_prefix=@exec_prefix@
# Unless you are creating a package conforming to some OS's standards, you
# probably do not want to modify the following directories:
# Main binaries
-BINDIR=@bindir@
+BINDIR=${prefix}/@bindir@
# Configuration .lua files
-ETCDIR=@sysconfdir@/@PACKAGE_TARNAME@
+ETCDIR=${prefix}/@sysconfdir@/@PACKAGE_TARNAME@
# Some .lua files and ion-* shell scripts
-SHAREDIR=@datadir@/@PACKAGE_TARNAME@
+SHAREDIR=${prefix}/@datadir@/@PACKAGE_TARNAME@
# Manual pages
-MANDIR=@datadir@/man
+MANDIR=${prefix}/@datadir@/man
# Some documents
-DOCDIR=@datadir@/doc/@PACKAGE_TARNAME@
+DOCDIR=${prefix}/@datadir@/doc/@PACKAGE_TARNAME@
# Nothing at the moment
-INCDIR=@includedir@
+INCDIR=${prefix}/@includedir@
# Nothing at the moment
-LIBDIR=@libdir@
+LIBDIR=${prefix}/@libdir@
# Modules
-MODULEDIR=@libdir@/@PACKAGE_TARNAME@
+MODULEDIR=${prefix}/@libdir@/@PACKAGE_TARNAME@
# ion-completefile (does not belong in SHAREDIR being a binary file)
-EXTRABINDIR=@libexecdir@/@PACKAGE_TARNAME@
+EXTRABINDIR=${prefix}/@libexecdir@/@PACKAGE_TARNAME@
##
## Modules
----------- следующая часть -----------
Name: ion2-doc
Version: 0.1
Release: alt1
Epoch: 20040207
Summary: ion2 window manager docs
License: GPL
Group: System/Kernel and hardware
#Url: http://mkp.net/fstyp/
Source: ion-doc-2-%epoch.tar.gz
%description
ion2 --fast lightweight window manager documentation
%prep
%setup -q -c
%build
%install
%__mkdir -p %buildroot
%files
%doc ion-doc-2-%epoch/*
%changelog
* Wed Feb 18 2004 Denis Smirnov <mithraen на altlinux.ru> 20040207:0.1-alt1
- Build for Sisyphus
Подробная информация о списке рассылки Devel