SPECS: nxcompext.spec - updated to 2.0.0-33

kosmo kosmo at pld-linux.org
Wed Sep 6 19:34:35 CEST 2006


Author: kosmo                        Date: Wed Sep  6 17:34:35 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 2.0.0-33

---- Files affected:
SPECS:
   nxcompext.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/nxcompext.spec
diff -u SPECS/nxcompext.spec:1.4 SPECS/nxcompext.spec:1.5
--- SPECS/nxcompext.spec:1.4	Tue Jan 31 23:11:47 2006
+++ SPECS/nxcompext.spec	Wed Sep  6 19:34:30 2006
@@ -1,16 +1,20 @@
 # $Revision$, $Date$
+%define	_version_major	2.0.0
+%define	_version_minor	33
+
 Summary:	NX compression library extenstions
 Summary(pl):	Rozszerzenia biblioteki kompresji NX
 Name:		nxcompext
-Version:	1.4.0_2
+Version:	%{_version_major}.%{_version_minor}
 Release:	1
 License:	GPL
 Group:		X11/Libraries
-Source0:	http://www.nomachine.com/download/snapshot/nxsources/%{name}-%(echo %{version} | tr _ -).tar.gz
-# Source0-md5:	aec8b44cfd3e05fca529769f4f9f90e7
+Source0:	http://64.34.161.181/download/%{_version_major}/sources/%{name}-%{_version_major}-%{_version_minor}.tar.gz
+# Source0-md5:	d6738f330687d6c986600a9685e527cf
+Patch0:		%{name}-xgetioerror.patch
 URL:		http://www.nomachine.com/
-BuildRequires:	XFree86-devel
-BuildRequires:	XFree86-Xserver-devel
+BuildRequires:	X11-devel
+BuildRequires:	X11-Xserver-devel
 BuildRequires:	libpng-devel
 BuildRequires:	libstdc++-devel
 BuildRequires:	nxcomp-devel
@@ -49,22 +53,22 @@
 
 %prep
 %setup -q -n %{name}
+%patch0 -p1
 
 %build
+%{__autoconf}
 %configure
 sed -i -e 's#-I/usr/X11R6/include#-I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/X11R6/include/X11/Xserver/programs/Xserver/include#g' Makefile
+sed -i -e 's#-L../nxcomp#-L/usr/X11R6/lib#' Makefile
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
 
-#%{__make} install \
-#	DESTDIR=$RPM_BUILD_ROOT
-
-cp -a lib*.so* $RPM_BUILD_ROOT%{_libdir}
-install lib*.a $RPM_BUILD_ROOT%{_libdir}
-install NX.h $RPM_BUILD_ROOT%{_includedir}
+cp -a lib*.so*	$RPM_BUILD_ROOT%{_libdir}
+install lib*.a	$RPM_BUILD_ROOT%{_libdir}
+install NX*.h	$RPM_BUILD_ROOT%{_includedir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -92,6 +96,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2006/09/06 17:34:30  kosmo
+- updated to 2.0.0-33
+
 Revision 1.4  2006/01/31 22:11:47  qboosh
 - don't use epoch when not defined
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/nxcompext.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list