summaryrefslogtreecommitdiffstats
path: root/contrib/templates
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-30 16:45:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-30 16:45:10 +0000
commit14a012c1e4f172206411e4224fcb5cad3e9efae0 (patch)
treea494c64eb03af5213b654e2ee63277016cbc9266 /contrib/templates
parentReleasing progress-linux version 20230625-3~exp2~progress7.99u1. (diff)
downloadfirmware-nonfree-14a012c1e4f172206411e4224fcb5cad3e9efae0.tar.xz
firmware-nonfree-14a012c1e4f172206411e4224fcb5cad3e9efae0.zip
Merging upstream version 20240709.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'contrib/templates')
-rw-r--r--contrib/templates/debian.changelog5
-rw-r--r--contrib/templates/debian.control18
-rw-r--r--contrib/templates/debian.copyright28
-rw-r--r--contrib/templates/rpm.spec31
4 files changed, 82 insertions, 0 deletions
diff --git a/contrib/templates/debian.changelog b/contrib/templates/debian.changelog
new file mode 100644
index 0000000..66a14e8
--- /dev/null
+++ b/contrib/templates/debian.changelog
@@ -0,0 +1,5 @@
+{{package}} ({{version}}) unstable; urgency=medium
+
+ * Automated release
+
+ -- Linux Firmware <linux-firmware@kernel.org> {{ date }}
diff --git a/contrib/templates/debian.control b/contrib/templates/debian.control
new file mode 100644
index 0000000..a1c0564
--- /dev/null
+++ b/contrib/templates/debian.control
@@ -0,0 +1,18 @@
+Source: {{package}}
+Section: unknown
+Priority: optional
+Maintainer: Linux Firmware <linux-firmware@kernel.org>
+Build-Depends: debhelper-compat (= 13)
+Standards-Version: 4.6.0
+Homepage: https://gitlab.com/kernel-firmware/linux-firmware
+Vcs-Browser: https://gitlab.com/kernel-firmware/linux-firmware
+Vcs-Git: https://gitlab.com/kernel-firmware/linux-firmware
+Rules-Requires-Root: no
+
+Package: {{package}}
+Architecture: all
+Depends: ${misc:Depends}
+Description: Upstream snapshot of linux-firmware package
+ Monolithic snapshot of upstream linux-firmware package, intended to
+ to validate upstream firmware without conflicts to the distribution
+ package.
diff --git a/contrib/templates/debian.copyright b/contrib/templates/debian.copyright
new file mode 100644
index 0000000..bc2d550
--- /dev/null
+++ b/contrib/templates/debian.copyright
@@ -0,0 +1,28 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: {{ package }}
+Upstream-Contact: linux-firmware@kernel.org
+Source: https://gitlab.com/kernel-firmware/linux-firmware
+
+Files: *
+Copyright: Various
+License: Various
+ License for all firmware is described in /usr/share/doc/{{ package }}/WHENCE.gz
+
+Files: debian/*
+Copyright: 2023 Linux Firmware <firmware@kernel.org>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/contrib/templates/rpm.spec b/contrib/templates/rpm.spec
new file mode 100644
index 0000000..862a3b9
--- /dev/null
+++ b/contrib/templates/rpm.spec
@@ -0,0 +1,31 @@
+Name: {{ package }}
+Version: {{ version }}
+Release: 1%{?dist}
+Summary: Linux Firmware (upstream)
+License: Redistributable, no modification permitted
+URL: http://gitlab.com/kernel-firmware/linux-firmware
+Source: /dev/null
+BuildArch: noarch
+
+%description
+Monolithic snapshot of upstream linux-firmware package, intended to
+to validate upstream firmware without conflicts to the distribution
+package.
+
+%prep
+%setup -q
+
+%build
+
+%install
+%define __strip /bin/true
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/lib/firmware
+cp -aR {{ cwd }}/updates %{buildroot}/lib/firmware
+
+%files
+%defattr(-,root,root,-)
+/lib/firmware/updates/*
+
+%post
+dracut -fp --regenerate-all