SPECS: nxcompext.spec - trashing system xorg deps is NO-WAY - i don't care ...

glen glen at pld-linux.org
Wed Nov 12 23:47:45 CET 2008


Author: glen                         Date: Wed Nov 12 22:47:45 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- trashing system xorg deps is NO-WAY
- i don't care if _this_ pkg works; rel 2

---- Files affected:
SPECS:
   nxcompext.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/nxcompext.spec
diff -u SPECS/nxcompext.spec:1.13 SPECS/nxcompext.spec:1.14
--- SPECS/nxcompext.spec:1.13	Mon Aug  4 14:37:59 2008
+++ SPECS/nxcompext.spec	Wed Nov 12 23:47:40 2008
@@ -1,15 +1,14 @@
 # $Revision$, $Date$
-%define	_version_major	3.2.0
-%define	_version_minor	1
-
+%define	version_major	3.2.0
+%define	version_minor	1
 Summary:	NX compression library extenstions
 Summary(pl.UTF-8):	Rozszerzenia biblioteki kompresji NX
 Name:		nxcompext
-Version:	%{_version_major}.%{_version_minor}
-Release:	1
+Version:	%{version_major}.%{version_minor}
+Release:	2
 License:	GPL
 Group:		X11/Libraries
-Source0:	http://64.34.161.181/download/%{_version_major}/sources/%{name}-%{_version_major}-%{_version_minor}.tar.gz
+Source0:	http://64.34.161.181/download/%{version_major}/sources/%{name}-%{version_major}-%{version_minor}.tar.gz
 # Source0-md5:	cd1296ebd24b1d7c4f82537a395ad6e8
 Patch0:		%{name}-xgetioerror.patch
 Patch1:		%{name}-xorg-includes.patch
@@ -24,6 +23,12 @@
 BuildRequires:	xorg-xserver-server-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# don't satisfy xorg deps for the rest of the distro
+%define		_noautoprovfiles	%{_libdir}/NX
+
+# and as we don't provide them, don't require either
+%define		_noautoreq libXcompext.so
+
 %description
 NX compression library extensions.
 
@@ -68,10 +73,10 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
+install -d $RPM_BUILD_ROOT{%{_libdir}/NX,%{_includedir}}
 
-cp -a lib*.so*	$RPM_BUILD_ROOT%{_libdir}
-install lib*.a	$RPM_BUILD_ROOT%{_libdir}
+cp -a lib*.so*	$RPM_BUILD_ROOT%{_libdir}/NX
+cp -a lib*.a	$RPM_BUILD_ROOT%{_libdir}/NX
 install NX*.h	$RPM_BUILD_ROOT%{_includedir}
 
 %clean
@@ -83,16 +88,16 @@
 %files
 %defattr(644,root,root,755)
 %doc CHANGELOG README
-%attr(755,root,root) %{_libdir}/lib*.so.*
+%attr(755,root,root) %{_libdir}/NX/lib*.so.*
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/NX/lib*.so
 %{_includedir}/*.h
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/*.a
+%{_libdir}/NX/*.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -100,6 +105,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2008/11/12 22:47:40  glen
+- trashing system xorg deps is NO-WAY
+- i don't care if _this_ pkg works; rel 2
+
 Revision 1.13  2008/08/04 12:37:59  paszczus
 - updated to 3.2.0.1
 
@@ -132,7 +141,7 @@
 - don't use epoch when not defined
 
 Revision 1.3  2004/11/11 19:48:18  saq
-- mass commit: using %%{epoch} without explicit Epoch: declaration
+- mass commit: using %{epoch} without explicit Epoch: declaration
   requires a modern rpm
 
 Revision 1.2  2004/07/05 19:31:51  qboosh
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/nxcompext.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list