commit 817fb9e65656687ed97f06186f53758b369d880d
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sun Jan 12 20:22:30 2020 +0000
Initial el build
.gitignore | 16 ++++------
rpmfusion-nonfree-appstream-data.spec | 56 +++++++----------------------------
sources | 4 +--
update-appdata-rpmfusion-nonfree.sh | 16 ++++------
4 files changed, 22 insertions(+), 70 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 899b2eb..fad5d22 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,11 +1,5 @@
-/rpmfusion-nonfree-25-icons.tar.gz
-/rpmfusion-nonfree-25.xml.gz
-/rpmfusion-nonfree-26-icons.tar.gz
-/rpmfusion-nonfree-26.xml.gz
-/rpmfusion-nonfree-28-icons.tar.gz
-/rpmfusion-nonfree-28.xml.gz
-tags
-/rpmfusion-nonfree-29-icons.tar.gz
-/rpmfusion-nonfree-29.xml.gz
-/rpmfusion-nonfree-30-icons.tar.gz
-/rpmfusion-nonfree-30.xml.gz
+/rpmfusion-nonfree-8-icons.tar.gz
+/rpmfusion-nonfree-8.xml.gz
+
+/rpmfusion-nonfree-el8-icons.tar.gz
+/rpmfusion-nonfree-el8.xml.gz
diff --git a/rpmfusion-nonfree-appstream-data.spec
b/rpmfusion-nonfree-appstream-data.spec
index 47891e8..71299de 100644
--- a/rpmfusion-nonfree-appstream-data.spec
+++ b/rpmfusion-nonfree-appstream-data.spec
@@ -2,23 +2,23 @@
%global repoversion nonfree
Name: %{reponame}-%{repoversion}-appstream-data
-Version: 30
-Release: 1.20181021%{?dist}
-Summary: Appstream metadata for the RPM Fusion nonfree repository
+Version: 8
+Release: 1%{?dist}
+Summary: Appstream metadata for the RPM Fusion nonfree el repository
BuildArch: noarch
License: CC0
URL:
http://rpmfusion.org
-Source0: %{reponame}-%{repoversion}-%{version}.xml.gz
-Source1: %{reponame}-%{repoversion}-%{version}-icons.tar.gz
+Source0: %{reponame}-%{repoversion}-el%{version}.xml.gz
+Source1: %{reponame}-%{repoversion}-el%{version}-icons.tar.gz
Source2: update-appdata-rpmfusion-nonfree.sh
BuildRequires: libappstream-glib
Supplements: appstream-data
%description
-Appstream metadata for packages in the RPM Fusion nonfree repository
+Appstream metadata for packages in the RPM Fusion nonfree el repository
%prep
@@ -32,49 +32,13 @@ DESTDIR=%{buildroot} appstream-util install %{SOURCE0} %{SOURCE1}
%files
-%attr(0644,root,root)
%{_datadir}/app-info/xmls/%{reponame}-%{repoversion}-%{version}.xml.gz
-%{_datadir}/app-info/icons/%{reponame}-%{repoversion}-%{version}/
+%attr(0644,root,root)
%{_datadir}/app-info/xmls/%{reponame}-%{repoversion}-el%{version}.xml.gz
+%{_datadir}/app-info/icons/%{reponame}-%{repoversion}-el%{version}/
%dir %{_datadir}/app-info
%dir %{_datadir}/app-info/icons
%dir %{_datadir}/app-info/xmls
%changelog
-* Sun Oct 21 2018 Ankur Sinha <ankursinha AT fedoraproject DOT org> -
30-1.20181021
-- Regenerate
-- Use datestamp to indicate regeneration date.
+* Sun Jan 12 2020 Leigh Scott <leigh123linux(a)gmail.com> - 8-1
+- Initial el build
-* Sun Jul 08 2018 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 29-2
-- Regenerate
-
-* Sat Mar 31 2018 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 29-1
-- Regenerate
-
-* Mon Nov 13 2017 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 28-1
-- Update appdata
-
-* Sun Jul 09 2017 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 26-2
-- Regenerate and update
-
-* Mon Nov 14 2016 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 26-1
-- Bump version and regenerate data with correct version
-
-* Mon Nov 14 2016 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 25-3
-- Add weak dep on Fedora appstream-data package
-
-* Mon Nov 14 2016 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 25-2
-- Regenerate and update
-
-* Tue Jul 26 2016 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 25-1
-- Initial build for rawhide
-
-* Tue Mar 08 2016 Nicolas Chauvet <kwizart(a)gmail.com> - 22-5
-- Fix project name
-
-* Wed May 27 2015 Ankur Sinha <ankursinha AT fedoraproject DOT org> 22-4
-- Added some appdata files
-
-* Fri May 22 2015 Ankur Sinha <ankursinha AT fedoraproject DOT org> 22-3
-- regenerate with screenshots
-
-* Thu May 21 2015 Ankur Sinha <ankursinha AT fedoraproject DOT org> 22-1
-- Initial build
diff --git a/sources b/sources
index 061485b..cf8e055 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-8d7640ef64ddcae2b61f248e6f714ddd rpmfusion-nonfree-30-icons.tar.gz
-1567146664ff8ce0fcf13ed6bd9a78b4 rpmfusion-nonfree-30.xml.gz
+SHA512 (rpmfusion-nonfree-el8-icons.tar.gz) =
975b265450f8c6d6c2083dae26b75d2b03f41c1db28cbfd0106954978a16a8e6a247cf9fe49567dbf7ff28e58c5a610f16696da9287c1710ba4c6143732e7430
+SHA512 (rpmfusion-nonfree-el8.xml.gz) =
a4ba31ad989e5311a91632991aacc7cf1129ffa1f5b5373c9902b1c3c246ce785b70d8ec045b3f333da06b81fc6665f0c1e1322c8c8dbc03974da9a7a21a949e
diff --git a/update-appdata-rpmfusion-nonfree.sh b/update-appdata-rpmfusion-nonfree.sh
index 45d85a5..b56d6bb 100755
--- a/update-appdata-rpmfusion-nonfree.sh
+++ b/update-appdata-rpmfusion-nonfree.sh
@@ -7,14 +7,8 @@ main ()
mkdir rpmfusion-nonfree/ -pv
cd rpmfusion-nonfree || exit -1
#
- if [ "$RELEASE" = "30" ]; then
-
URL="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/nonfree...
- elif [ "$RELEASE" = "29" ]; then
-
URL="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/nonfree...
- elif [ "$RELEASE" = "28" ]; then
-
URL="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/nonfree...
- elif [ "$RELEASE" = "27" ]; then
-
URL="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/nonfree...
+ if [ "$RELEASE" = "8" ]; then
+
URL="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/nonfree...
fi
@@ -22,8 +16,8 @@ main ()
rm -rf repo*
#
appstream-builder --verbose --max-threads=6 --log-dir=./logs/ \
- --packages-dir=./Packages/ --temp-dir=./tmp/ --output-dir=./appstream-data/ \
- --basename="rpmfusion-nonfree-$RELEASE"
--origin="rpmfusion-nonfree-$RELEASE" \
+ --packages-dir=./ --temp-dir=./tmp/ --output-dir=./appstream-data/ \
+ --basename="rpmfusion-nonfree-el$RELEASE"
--origin="rpmfusion-nonfree-el$RELEASE" \
--enable-hidpi
echo "Generated files are present in the appstream-data directory"
@@ -34,7 +28,7 @@ usage ()
echo "$0 -r <release>"
echo "- update appdata for rpmfusion nonfree repository"
echo "options:"
- echo "-r <release> one of 27, 28, 29, and 30"
+ echo "-r <release> one of 8"
}