/[packages]/cauldron/mageia-prime/current/SPECS/mageia-prime.spec
ViewVC logotype

Contents of /cauldron/mageia-prime/current/SPECS/mageia-prime.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1674727 - (show annotations) (download)
Wed Feb 3 17:19:26 2021 UTC (3 years, 2 months ago) by ghibo
File size: 1605 byte(s)
- Add Conflicts with bumblebee to avoid potential intereference between modules.
- Add an option to force a fresh xorg.conf config file.
- Exits and not warning when running as unprivileged user.
- Fix typos.

1 Name: mageia-prime
2 Version: 0.4
3 Release: %mkrel 10
4 Summary: An NVidia Prime configuration tool
5 Group: Development/X11
6 URL: https://github.com/ghibo/%{name}
7 Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
8 Patch1: 0001-A-round-of-code-fixing-including.patch
9 Patch2: 0002-Fix-glxspheres64-in-README.md-doc.patch
10 Patch3: 0003-Fix-indentation.patch
11 Patch4: 0004-Add-support-for-using-the-intel-driver-from-x11-driv.patch
12 Patch5: 0005-Don-t-install-dnf-packages-interactively.patch
13 Patch6: 0006-Implement-autodetecting-of-nvidia390-or-nvidia-curre.patch
14 Patch7: 0007-Exits-and-not-just-warning-if-not-having-root-privil.patch
15 Patch8: 0008-Add-option-f-to-avoid-re-using-preserved-xorg.conf.patch
16 Patch9: 0009-Add-a-missed-brace.patch
17 Patch10: 0010-Fix-typo.patch
18 License: GPLv3
19
20 Requires: kmod
21 Requires: dnf
22 Requires: dnf-command(install)
23 Requires: dnf-command(config-manager)
24 Requires: urpmi
25 Requires: drakxtools-backend
26 # /bin/update-grub
27 Requires: grub2-common
28 # /bin/lspcidrake
29 Requires: ldetect-lst
30 # /bin/lspci
31 Requires: pciutils
32 # systemctl
33 Requires: systemd-units
34 Requires: xrandr
35 # avoid interference with bumblebee modules
36 Conflicts: bumblebee
37
38 %description
39 A tool for easily configuring NVidia Prime under Mageia GNU/Linux.
40
41 %prep
42 %setup -q
43 %autopatch -p1
44
45 %build
46 %make_build CFLAGS="%{optflags} -Wall -pedantic -D_GNU_SOURCE"
47
48 %install
49 %make_install
50
51 %files
52 %doc README.md
53 %license LICENSE
54 %{_bindir}/mageia-prime-offload
55 %{_bindir}/mageia-prime-offload-run
56 %{_bindir}/mageia-prime-install-packages-large
57 %{_sbindir}/mageia-prime-install
58 %{_sbindir}/mageia-prime-uninstall

  ViewVC Help
Powered by ViewVC 1.1.30