]> git.pld-linux.org Git - packages/dxpc.git/commitdiff
- spec adapterized, dxpc-3_7_0-1
authorkloczek <kloczek@pld-linux.org>
Thu, 13 Jul 2000 20:03:28 +0000 (20:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added "-fno-rtti -fno-exceptions" to CXXFLAGS,
- added %clean section.

Changed files:
    dxpc.spec -> 1.2

dxpc.spec

index a8dd05d8e1465f173cef995be0d131ae683f9d39..89c2fc2c47505740a59bb26c82e2b644b6ea1d1f 100644 (file)
--- a/dxpc.spec
+++ b/dxpc.spec
@@ -3,20 +3,22 @@ Name:         dxpc
 Version:       3.7.0
 Release:       1
 Group:         X11/Applications/Networking
-Copyright:     Distributable provided copyright and permission notices are included
-URL:           http://ccwf.cc.utexas.edu/~zvonler/dxpc/
-Source:                http://ccwf.cc.utexas.edu/~zvonler/dxpc/%{name}-%{version}.tar.gz
+Group(pl):     X11/Aplikacje/Sieciowe
+License:       Distributable provided copyright and permission notices are included
+Source0:       http://ccwf.cc.utexas.edu/~zvonler/dxpc/%{name}-%{version}.tar.gz
 Patch0:                dxpc-DESTDIR.patch
 Patch1:                dxpc-socklen_t.patch
+URL:           http://ccwf.cc.utexas.edu/~zvonler/dxpc/
 Icon:          dxpc.logo-smaller-t.gif
+BuildRequires: libstdc++-devel
 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.
+dxpc is an X protocol compressor designed to improve the speed of X11
+applications run over low-bandwidth links.
 
 %prep 
 %setup -q
@@ -24,20 +26,26 @@ speed of X11 applications run over low-bandwidth links.
 %patch1 -p1
 
 %build
+LDFLAGS="-s"
+CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions"
+export LDFLAGS CXXFLAGS
 %configure
 make
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
 
-strip --strip-unneeded $RPM_BUILD_ROOT%{_bindir}/*
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 gzip -9nf CHANGES README TODO dxpc-3.7.0.lsm \
        $RPM_BUILD_ROOT%{_mandir}/man1/*
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %files
 %defattr(644,root,root,755)
-%doc CHANGES.gz README.gz TODO.gz dxpc-3.7.0.lsm.gz
+%doc *.gz
 %doc dxpc.logo.jpg dxpc.logo-small.jpg
 %attr(755,root,root) %{_bindir}/dxpc
-%{_mandir}/man1/dxpc.1*
+%{_mandir}/man1/*
This page took 0.0757679999999999 seconds and 4 git commands to generate.