SPECS: nxcompshad.spec (NEW) - added, NFY

aredridel aredridel at pld-linux.org
Sun Dec 9 05:29:20 CET 2007


Author: aredridel                    Date: Sun Dec  9 04:29:20 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added, NFY

---- Files affected:
SPECS:
   nxcompshad.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/nxcompshad.spec
diff -u /dev/null SPECS/nxcompshad.spec:1.1
--- /dev/null	Sun Dec  9 05:29:20 2007
+++ SPECS/nxcompshad.spec	Sun Dec  9 05:29:15 2007
@@ -0,0 +1,97 @@
+# $Revision$, $Date$
+%define	_version_major	3.0.0
+%define	_version_minor	19
+
+Summary:	NX compression library extenstions for shadowing
+Name:		nxcompshad
+Version:	%{_version_major}.%{_version_minor}
+Release:	1
+License:	GPL
+Group:		X11/Libraries
+Source0:	http://64.34.161.181/download/%{_version_major}/sources/%{name}-%{_version_major}-%{_version_minor}.tar.gz
+# Source0-md5:	fb5e6c5dbbb1e453282ea6176547e987
+URL:		http://www.nomachine.com/
+BuildRequires:	autoconf >= 2.59-9
+BuildRequires:	libjpeg-devel
+BuildRequires:	libpng-devel
+BuildRequires:	libstdc++-devel
+BuildRequires:	nxcomp-devel >= 3.0.0
+BuildRequires:	sed >= 4.0
+BuildRequires:	xorg-lib-libX11-devel
+BuildRequires:	xorg-xserver-server-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+NX compression library extensions for shadowing.
+
+%package devel
+Summary:	Header files for nxcompshad
+Summary(pl.UTF-8):	Pliki nagłówkowe nxcompshad
+Group:		X11/Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for nxcompshad.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe nxcompshad.
+
+%package static
+Summary:	Static nxcompshad library
+Summary(pl.UTF-8):	Statyczna biblioteka nxcompshad
+Group:		X11/Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static nxcompshad library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka nxcompshad.
+
+%prep
+%setup -q -n %{name}
+
+%build
+%{__autoconf}
+%configure
+sed -i -e 's#-I/usr/X11R6/include#-I/usr/include/X11 -I/usr/include/xorg#g' Makefile
+sed -i -e 's#-L../nxcomp##' Makefile
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_libdir},%{_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
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG 
+%attr(755,root,root) %{_libdir}/lib*.so.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+#%{_includedir}/*.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/*.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007-12-09 04:29:15  aredridel
+- added, NFY
+
================================================================


More information about the pld-cvs-commit mailing list