rpms/libXNVCtrl/FC-6 libXNVCtrl-imake.patch, NONE, 1.1 libXNVCtrl.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Hans de Goede (jwrdegoede)
fedora-extras-commits at redhat.com
Sun Jul 29 20:20:20 UTC 2007
Author: jwrdegoede
Update of /cvs/extras/rpms/libXNVCtrl/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27901/FC-6
Modified Files:
.cvsignore sources
Added Files:
libXNVCtrl-imake.patch libXNVCtrl.spec
Log Message:
ACL removal
libXNVCtrl-imake.patch:
--- NEW FILE libXNVCtrl-imake.patch ---
diff -up nvidia-settings-1.0/src/libXNVCtrl/Imakefile.imake nvidia-settings-1.0/src/libXNVCtrl/Imakefile
--- nvidia-settings-1.0/src/libXNVCtrl/Imakefile.imake 2007-06-14 04:00:19.000000000 +0200
+++ nvidia-settings-1.0/src/libXNVCtrl/Imakefile 2007-07-27 10:03:47.000000000 +0200
@@ -1,7 +1,8 @@
XCOMM Imakefile for libXNVCtrl.a
-#define DoNormalLib NormalLibXrandr
+#define DoSharedLib 1
#define LibName XNVCtrl
+#define SoRev SOREV
#define IncSubdir X11
#define IncSubSubdir extensions
@@ -17,6 +18,8 @@ ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL
SRCS = NVCtrl.c
OBJS = NVCtrl.o
LINTLIBS = $(LINTXLIB)
+ SOREV = 0.0.0
+ REQUIREDLIBS = -lX11 -lXext
HEADERS = NVCtrlLib.h NVCtrl.h
--- NEW FILE libXNVCtrl.spec ---
Name: libXNVCtrl
Version: 1.0
Release: 4%{?dist}
Summary: Library providing the NV-CONTROL API
Group: System Environment/Libraries
License: GPL
URL: ftp://download.nvidia.com/XFree86/nvidia-settings/
Source0: ftp://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-%{version}.tar.gz
Patch0: libXNVCtrl-imake.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: imake libX11-devel libXext-devel
%description
This packages contains the libXNVCtrl library from the nvidia-settings
application. This library provides the NV-CONTROL API for communicating with
the proprietary NVidia xorg driver. This package does not contain the
nvidia-settings tool itself as that is included with the proprietary drivers
themselves.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}, libX11-devel
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q -n nvidia-settings-%{version}
%patch0 -p1 -z .imake
pushd src/%{name}
xmkmf
popd
%build
pushd src/%{name}
make %{?_smp_mflags} CDEBUGFLAGS="$RPM_OPT_FLAGS"
popd
%install
rm -rf $RPM_BUILD_ROOT
pushd src/%{name}
make install DESTDIR=$RPM_BUILD_ROOT INSTINCFLAGS="-p -m 644"
popd
# imake installs these under X11/extensions, but apps expect them under NVCtrl
mv $RPM_BUILD_ROOT%{_includedir}/X11/extensions \
$RPM_BUILD_ROOT%{_includedir}/NVCtrl
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc COPYING src/%{name}/README.LIBXNVCTRL
%{_libdir}/%{name}.so.0*
%files devel
%defattr(-,root,root,-)
%doc doc/NV-CONTROL-API.txt doc/FRAMELOCK.txt
%{_includedir}/NVCtrl
%{_libdir}/%{name}.so
%changelog
* Fri Jul 27 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.0-4
- Add missing libXext-devel BuildRequires
* Fri Jul 27 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.0-3
- Link the lib against libX11 and libXext to avoid undefined non weak symbols
(through updated libXNVCtrl-imake.patch)
* Sun Jul 22 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.0-2
- Honor optflags
- Preserve timestamps of headers when installing them
* Sun Jul 15 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.0-1
- Initial Fedora Extras version
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/libXNVCtrl/FC-6/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 27 Jul 2007 16:37:52 -0000 1.1
+++ .cvsignore 29 Jul 2007 20:19:48 -0000 1.2
@@ -0,0 +1 @@
+nvidia-settings-1.0.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/libXNVCtrl/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 27 Jul 2007 16:37:52 -0000 1.1
+++ sources 29 Jul 2007 20:19:48 -0000 1.2
@@ -0,0 +1 @@
+0f4b41895f527481684a5bfe1de2d57b nvidia-settings-1.0.tar.gz
More information about the fedora-extras-commits
mailing list