Package libXNVCtrl: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | Group: System/Libraries # BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-macros-fedora-compat # END SourceDeps(oneline) # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: libXNVCtrl Version: 352.21 Release: alt1_11 Summary: Library providing the NV-CONTROL API License: GPLv2+ URL: ftp://download.nvidia.com/XFree86/nvidia-settings/ Source0: ftp://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-%{version}.tar.bz2 Patch0: libxnvctrl_so_0.patch Patch1: libxnvctrl_optflags.patch BuildRequires: gcc BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: coreutils Source44: import.info %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 Group: Development/Other Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} %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 %patch1 -p1 %build %make_build \ CC="gcc" \ NV_VERBOSE=1 \ OPTFLAGS="%{optflags}" \ LDFLAGS="%{build_ldflags}" \ -C src/%{name} %install pushd src/%{name} install -m 0755 -d $RPM_BUILD_ROOT%{_libdir}/ install -p -m 0755 libXNVCtrl.so.0.0.0 $RPM_BUILD_ROOT%{_libdir}/ ln -s libXNVCtrl.so.0.0.0 $RPM_BUILD_ROOT%{_libdir}/libXNVCtrl.so.0 ln -s libXNVCtrl.so.0 $RPM_BUILD_ROOT%{_libdir}/libXNVCtrl.so install -m 0755 -d $RPM_BUILD_ROOT%{_includedir}/NVCtrl/ install -p -m 0644 {nv_control,NVCtrl,NVCtrlLib}.h $RPM_BUILD_ROOT%{_includedir}/NVCtrl/ popd %files %doc COPYING %{_libdir}/%{name}.so.0* %files devel %doc doc/NV-CONTROL-API.txt doc/FRAMELOCK.txt %{_includedir}/NVCtrl %{_libdir}/%{name}.so %changelog * Sat Feb 16 2019 Igor Vlasenko <viy@altlinux.ru> 352.21-alt1_11 - fc merge * Wed Sep 27 2017 Igor Vlasenko <viy@altlinux.ru> 352.21-alt1_6 - update to new release by fcimport * Thu Mar 16 2017 Igor Vlasenko <viy@altlinux.ru> 352.21-alt1_4 - update to new release by fcimport * Mon Feb 15 2016 Igor Vlasenko <viy@altlinux.ru> 352.21-alt1_3 - update to new release by fcimport * Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 352.21-alt1_2 - update to new release by fcimport * Wed Aug 27 2014 Igor Vlasenko <viy@altlinux.ru> 169.12-alt2_11 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 169.12-alt2_10 - update to new release by fcimport * Mon Aug 12 2013 Igor Vlasenko <viy@altlinux.ru> 169.12-alt2_9 - update to new release by fcimport * Fri Feb 22 2013 Igor Vlasenko <viy@altlinux.ru> 169.12-alt2_8 - update to new release by fcimport * Fri Jul 27 2012 Igor Vlasenko <viy@altlinux.ru> 169.12-alt2_7 - update to new release by fcimport * Fri Jun 08 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 169.12-alt2_6.1 - Fixed build * Wed Feb 01 2012 Igor Vlasenko <viy@altlinux.ru> 169.12-alt2_6 - update to new release by fcimport * Fri Dec 23 2011 Igor Vlasenko <viy@altlinux.ru> 169.12-alt2_5 - spec cleanup thanks to ldv@ * Sat Dec 17 2011 Igor Vlasenko <viy@altlinux.ru> 169.12-alt1_5 - initial import by fcimport |