Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 41217fa1a5dc5dc514c088fd2fab9ab4 > files > 4

pekwm-0.1.16-2.mga3.src.rpm

Name:		pekwm
Version:	0.1.16
Release:	%mkrel 2
URL:		http://pekwm.org/
Source0:	http://www.pekwm.org/projects/pekwm/files/%{name}-%{version}.tar.bz2

# modify config
Source1:	pekwm_config
Source2:	pekwm_mouse

# add themes (fonts changed for Mandriva; imported into Mageia)
Source10:	Opus3_Alpha-dev-20050227.tar.bz2
Source11:	OpusOS-Deep.tar.bz2

License:	GPL
Group:		Graphical desktop/Other
Summary:	A minimalist window manager for the X Window System
Requires:	xterm
BuildRequires:	libx11-devel
BuildRequires:	libxext-devel
BuildRequires:	libxft-devel
BuildRequires:	libxinerama-devel
BuildRequires:	libxpm-devel
BuildRequires:	libxrandr-devel
BuildRequires:	jpeg-devel
BuildRequires:	png-devel

%description
Pekwm is a window manager based on aewm++, but it no longer
resembles it. It is highly configurable, rather fast, and
aimed towards being usable while remaining pretty enough to
look at. Features include client window grouping into one
window frame, automatic window size, location, grouping
and title rewriting.


%prep
%setup -q

# modify config
cp -f %{SOURCE1} data/config
cp -f %{SOURCE2} data/mouse

%build
autoreconf -fi
%configure2_5x	--enable-shape \
		--enable-xinerama \
		--enable-menus \
		--enable-harbour \
		--disable-debug

%make

%install
%makeinstall_std

# install themes
tar -jxf %{SOURCE10} -C %{buildroot}%{_datadir}/%{name}/themes
tar -jxf %{SOURCE11} -C %{buildroot}%{_datadir}/%{name}/themes

# startfile
cat > %{buildroot}%{_bindir}/start%{name} << EOF
exec %{_bindir}/%{name}
EOF

chmod 755 %{buildroot}%{_bindir}/start%{name}

# session file
install -d %{buildroot}%{_sysconfdir}/X11/wmsession.d
cat > %{buildroot}%{_sysconfdir}/X11/wmsession.d/30%{name} << EOF
NAME=%{name}
EXEC=%{_bindir}/start%{name}
DESC=%{name} window manager
SCRIPT:
exec %{_bindir}/start%{name}
EOF

%files
%doc AUTHORS ChangeLog NEWS README
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
%config(noreplace) %{_sysconfdir}/X11/wmsession.d/30%{name}
%config(noreplace) %{_sysconfdir}/pekwm
%{_bindir}/start%{name}
%{_bindir}/%{name}
%{_datadir}/man/man1/*


%changelog

* Sun Jan 13 2013 umeabot <umeabot> 0.1.16-2.mga3
+ Revision: 362745
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sun Dec 02 2012 kamil <kamil> 0.1.16-1.mga3
+ Revision: 324663
- new version 0.1.16

* Sat Aug 25 2012 kamil <kamil> 0.1.15-1.mga3
+ Revision: 283800
- new version 0.1.15

* Tue Feb 07 2012 kamil <kamil> 0.1.14-1.mga2
+ Revision: 205643
- new version 0.1.14

* Mon Feb 06 2012 kamil <kamil> 0.1.12-2.mga2
+ Revision: 205630
- adapt .spec for Mageia
- imported package pekwm