Sophie

Sophie

distrib > PLD > ra > i386 > media > dist-src > by-pkgid > 951e62d510807190f4e7656321313890 > files > 7

dxpc-3.7.0-3.src.rpm

# $Revision: 1.12 $, $Date: 2002/02/23 01:58:09 $
Summary:	dxpc - The Differential X Protocol Compressor
Summary(pl):	Ró¿nicowy kompresor X protoko³u
Name:		dxpc
Version:	3.7.0
Release:	3
License:	distributable provided copyright and permission notices are included
Group:		X11/Applications/Networking
Source0:	http://ccwf.cc.utexas.edu/~zvonler/dxpc/%{name}-%{version}.tar.gz
Source1:	%{name}.1.pl
Patch0:		%{name}-DESTDIR.patch
Patch1:		%{name}-socklen_t.patch
Patch2:		%{name}-ac_lt.patch
URL:		http://ccwf.cc.utexas.edu/~zvonler/dxpc/
Icon:		dxpc.logo-smaller-t.gif
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	libstdc++-devel
BuildRequires:	libtool
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%define		_prefix		/usr/X11R6
%define		_mandir		%{_prefix}/man

%description
dxpc is an X protocol compressor designed to improve the speed of X11
applications run over low-bandwidth links.

%description -l pl
dxpc jest kompresorem X protoko³u zaprojektowanym dla zwiêkszenia
szybko¶ci dzia³ania aplikacji uruchamianych przez ³±cza o ma³ej
przepustowo¶ci.

%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1

%build
libtoolize -c -f
aclocal
autoconf
CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions -fno-implicit-templates"
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install DESTDIR=$RPM_BUILD_ROOT

install -d $RPM_BUILD_ROOT%{_mandir}/pl/man1
install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/dxpc.1

gzip -9nf CHANGES README TODO

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc *.gz
%doc dxpc.logo.jpg dxpc.logo-small.jpg
%attr(755,root,root) %{_bindir}/dxpc
%{_mandir}/man1/*
%lang(pl) %{_mandir}/pl/man1/*

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

$Log: dxpc.spec,v $
Revision 1.12  2002/02/23 01:58:09  kloczek
- adapterized.

Revision 1.11  2002/02/22 23:28:49  kloczek
- removed all Group fields translations (oure rpm now can handle translating
  Group field using gettext).

Revision 1.10  2002/01/18 02:12:46  kloczek
perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"

Revision 1.9  2001/11/10 16:45:30  jajcus
- s/Distibutable/distributable/ in License

Revision 1.8  2001/11/04 23:06:01  ankry
- added pl man page
- release 3

Revision 1.7  2001/08/27 17:40:43  kloczek
-  release 2,
- added automake, autoconf, libtool to BuildRequires,
- added -fno-implicit-templates to CXXFLAGS.

Revision 1.6  2001/08/25 11:54:14  filon
- added regenerating configuration files, ac 2.5 ready
- added patch: ac_lt patch to use libtool
- s/make/%%{__make}/

Revision 1.5  2001/07/21 13:32:28  migo
- fixed pl description/summary

Revision 1.4  2001/07/20 20:37:07  migo
- added pl summary and/or description

Revision 1.3  2001/05/02 02:43:03  qboosh
- adapterized and made spec %%debug ready or added using %%rpm*flags macros

Revision 1.2  2000/07/13 20:03:28  kloczek
- spec adapterized,
- added "-fno-rtti -fno-exceptions" to CXXFLAGS,
- added %clean section.

Revision 1.1  2000/07/13 18:22:45  baggins
- initial revision, ready to go