File wterm.spec of Package wterm

# $Revision: 1.8 $, $Date: 2004/01/30 12:54:00 $
Summary:	Terminal emulator for WindowMaker
Name:		wterm
Version:	6.2.9

License:	GPL
Group:		X11/Applications
Source0:	http://largo.windowmaker.org/files/%{name}-%{version}.tar.bz2
URL:		http://largo.windowmaker.org/files.php#wterm
%if 0%{?mandriva_version}
Release:       %mkrel 2
%ifarch x86_64
BuildRequires:  lib64xorg-x11-devel lib64xt-devel lib64WindowMaker-static-devel
%endif
%ifarch %{ix86}
BuildRequires:  libxorg-x11-devel libxt-devel libWindowMaker-static-devel
%endif
%endif
%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
Release:       2%{?dist}
BuildRequires:  libX11-devel libXt-devel WindowMaker-devel
%endif
%if 0%{?suse_version}
Release:	2
BuildRequires:  xorg-x11-devel WindowMaker-devel
%endif
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
Wterm is a rxvt clone designed for WindowMaker. It has some
interesting featrues like very fast transparency or transparent NeXT
scroll bar.

%prep
%setup -q 

%build
%configure \
	--enable-xgetdefault \
	--enable-transparency \
	--enable-next-scroll \
	--enable-ttygid \
	--enable-xpm-background \
	--with-xpm-library=%{_libdir} \
	--enable-menubar \
	--enable-wtmp \
	--enable-utmp

%{__make}

%install
%{__make} install DESTDIR=%{buildroot}
 
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%clean
rm -rf %{buildroot}

%files
%defattr(644,root,root,755)
%doc README doc/{BUGS,FAQ,README*,TODO}
%attr(755,root,root) %{_bindir}/wterm
%{_mandir}/man1/wterm.1*

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

$Log: wterm.spec,v $
Revision 1.8  2004/01/30 12:54:00  jajcus
- Release: 2
- pass Xpm library path to %configure (it won't find it on AMD64 otherwise)

Revision 1.7  2004/01/29 21:12:31  gausus
- cosmetics
- stbr for Ac
- dedicated 2 djurban's obsession ;P

Revision 1.6  2003/10/20 13:32:11  qboosh
- added files, BR: WindowMaker-devel,XFree86-devel

Revision 1.5  2003/10/14 19:10:45  gausus
- small fixes

Revision 1.4  2003/10/14 10:18:25  ankry
- better pl

Revision 1.3  2003/10/14 07:27:30  gausus
- Happy Birthday to Averne - wszystkiego naj naj naj stary :D
- Some features added

Revision 1.2  2003/10/13 18:41:01  djurban
- removed ac/am bsyste macros (this apps has a screwed buildsystem)
- create rpmbuildroot
- use %configure2_13
- fixed changelog
- removed %files stuff
- gaus please do rpmbuild -bi wterm.spec

Revision 1.1  2003/10/13 18:29:17  gausus
- Initial release of wterm
openSUSE Build Service is sponsored by