Nowy WM

Jan Wideł jwnews w debian.maszyna.pl
Pon, 9 Sie 2004, 17:09:46 CEST


Prosz o przeglądnięcie speców/łatek i dodanie do repo jeśli OK.

-- 
Pozdrawiam
JW
http://debian.maszyna.pl
jasiek(at)debian(dot)maszyna(dot)pl

-------------- następna część ---------
[Desktop Entry]
Encoding=UTF-8
Type=XSession
Exec=pekwm
TryExec=pekwm
Name=Pekwm
Comment=A smal and fast window manager 
Comment[pl]=Mały i szybki menadżer okien

-------------- następna część ---------
# $Revision:$, $Date:$
%define _dname	%(echo %{name} | cut -d- -f1)
Summary:	Pack of themes for pekwm
Summary(pl):	Zestaw motywów dla pekwm
Name:		pekwm-themes1
Version:	1.0
Release:	1
License:	GPL
Group:		Themes
Source0:	http://pax.maszyna.pl/~jasiek/%{name}.tar.bz2
# Source0-md5:	a1144f9c2749cd59cc43cc752327c5be
Buildarch:	noarch
Requires:	pekwm
Obsoletes:	pekwm-themes-pack1
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%define		_themesdir	%{_datadir}/%{_dname}/themes

%description
Pack of themes for pekwm: 
Blue-Boxish - Hewbert <josh w hewbert.com>
Blue_Glass - Tilman Sauerbeck <tilman w code-monkey.de> 
BrushedApe - Brian Harbron <harbron w uiuc.edu> 
FatalE Port - Hewbert <josh w hewbert.com> 
Glass - cnx glass-cnx - Xumerle Luciano<ciano w medgen.univr.it>
NeXTSTEP -Julian Leyh <oenone w oenone.de>
Olympic - Hewbert <josh w hewbert.com> 
Vath - Hewbert <josh w hewbert.com> 
bluecurve - port of redhat's by leandro w linuxmag.com.br 
bombskew-p - regret <trueregret w yahoo.se> 
control systems - Dustin Massop<dmassop w engr.uvic.ca> 
monochrome - Xyverz www.xyverz.org 
old_unix-2- elk <elk w cowmob.nu> 
panther - A port by Dustin Massop<dmassop w engr.uvic.ca> 
retro - ported from xfce4 by <texray w gmx.de>

%description -l pl
Pck of themes for pekwm:
Blue-Boxish - Hewbert <josh w hewbert.com>
Blue_Glass - Tilman Sauerbeck <tilman w code-monkey.de>
BrushedApe - Brian Harbron <harbron w uiuc.edu>
FatalE Port - Hewbert <josh w hewbert.com>
Glass - cnx glass-cnx - Xumerle Luciano<ciano w medgen.univr.it>
NeXTSTEP -Julian Leyh <oenone w oenone.de>
Olympic - Hewbert <josh w hewbert.com>
Vath - Hewbert <josh w hewbert.com>
bluecurve - port of redhat's by leandro w linuxmag.com.br
bombskew-p - regret <trueregret w yahoo.se>
control systems - Dustin Massop<dmassop w engr.uvic.ca>
monochrome - Xyverz www.xyverz.org
old_unix-2- elk <elk w cowmob.nu>
panther - A port by Dustin Massop<dmassop w engr.uvic.ca>
retro - ported from xfce4 by <texray w gmx.de>

%prep
%setup -q -n %{name}

%build

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_themesdir}

cp -R * $RPM_BUILD_ROOT%{_themesdir}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%{_themesdir}/*


%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log:$
-------------- następna część ---------
# $Revision:$, $Date:$
Summary:	pekwm - based on the aewm++ window manager
Summary(pl):	pekwm - bazujący na aewm++ zarządcą okien
Name:		pekwm
Version:	0.1.3
Release:	1
License:	GPL v2
Group:		X11/Window Managers
Source0:	http://pekwm.org/files/source/%{name}-%{version}.tar.bz2
# Source0-md5:	c0bd31ae08fa0067f6a6584270403675
Source1:	%{name}.desktop
Source2:	%{name}-xsession.desktop
Patch0:		%{name}-fixmandir.patch
URL:		http://pekwm.org/
Buildrequires:	XFree86-devel
Buildrequires:	XFree86-libs
BuildRequires:  libstdc++-devel
Requires:       xinitrc-ng
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%define  _sysconfdir	/etc/X11
%define	 _deskdir	/usr/share/wm-propertis
%define	 _xdeskdir	%{_datadir}/xsession

%description
pekwm is a small, fast, functional and flexible window manager.

%description -l pl
pekwm jest małym, szybkim, funkcjonalnym i elastycznym zarządcą okien.

%prep
%setup -q
%patch0 -p1

%build
%configure \
--enable-shape \
--disable-xinerama \
--enable-debug \
--enable-menus \
--enable-keygrabber \
--enable-harbour \
--disable-pcre 
%{__make}

%install
%{__make} install\
	DESTDIR=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_deskdir},%{_xdeskdir}}
install %{SOURCE1} $RPM_BUILD_ROOT%{_deskdir}
install %{SOURCE2} $RPM_BUILD_ROOT%{_xdeskdir}/%{name}.desktop

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README README.aewm++ TODO docs/pekwmdocs.txt docs/pekwmdocs.html
%attr(755,root,root) %{_bindir}/*
%dir %{_sysconfdir}/%{name}
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/%{name}/*
%{_mandir}/man1/%{name}.1.gz
%{_datadir}/%{name}/themes/
%dir %{_datadir}/%{name}/scripts
%attr(755,root,root) %{_datadir}/%{name}/scripts/*
%{_deskdir}/%{name}.desktop
%{_xdeskdir}/%{name}.desktop

%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log:$
-------------- następna część ---------
diff -urN pekwm-0.1.3/docs/Makefile.in pekwm.patch/docs/Makefile.in
--- pekwm-0.1.3/docs/Makefile.in	2003-06-05 21:12:14.000000000 +0200
+++ pekwm.patch/docs/Makefile.in	2004-08-08 16:50:36.662367376 +0200
@@ -1,7 +1,7 @@
 # Makefile for pekwm
 # Copyright (C) 2002 Claes Nästen <pekdon w gmx.net>
 
-prefix = @prefix@
+MANDIR = @mandir@
 DATADIR = @datadir@/@PACKAGE@
 DATA_MODE = 644
 INSTALL = @INSTALL@
@@ -12,8 +12,8 @@
 	sed 's:<PREFIX>:$(DATADIR):' pekwm.1.in > pekwm.1
 
 install: all
-	mkdir -p $(DESTDIR)$(prefix)/man/man1
-	$(INSTALL) -m $(DATA_MODE) pekwm.1 $(DESTDIR)$(prefix)/man/man1
+	mkdir -p $(DESTDIR)${MANDIR}/man1
+	$(INSTALL) -m $(DATA_MODE) pekwm.1 $(DESTDIR)${MANDIR}/man1
 
 clean:
 	rm -f pekwm.1
-------------- następna część ---------
[Dektop Entry]
Encoding=UTF-8
Name=Pekwm
Comment=Very small and fast window manger
Comment[pl]=Mały i szybki zarządca okien
Exec=pekwm
Terminal=False
TryExec=pekwm
[Window Manager]
SessionManaged=true


Więcej informacji o liście dyskusyjnej pld-devel-pl