commit 3b1c0310a3af50706c0e734e2eabd7241f4a343b
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sun Jan 12 20:11:18 2020 +0000
Initial el build
.gitignore | 14 ++-------
rpmfusion-free-appstream-data.spec | 59 +++++++-------------------------------
sources | 4 +--
update-appdata-rpmfusion-free.sh | 16 ++++-------
4 files changed, 20 insertions(+), 73 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1771fbc..a9ef8ec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,11 +1,3 @@
-/rpmfusion-free-25-icons.tar.gz
-/rpmfusion-free-25.xml.gz
-/rpmfusion-free-26-icons.tar.gz
-/rpmfusion-free-26.xml.gz
-/rpmfusion-free-28-icons.tar.gz
-/rpmfusion-free-28.xml.gz
-tags
-/rpmfusion-free-29-icons.tar.gz
-/rpmfusion-free-29.xml.gz
-/rpmfusion-free-30-icons.tar.gz
-/rpmfusion-free-30.xml.gz
+/rpmfusion-free-*-icons.tar.gz
+/rpmfusion-free-*.xml.gz
+
diff --git a/rpmfusion-free-appstream-data.spec b/rpmfusion-free-appstream-data.spec
index 3c20092..8e3ab04 100644
--- a/rpmfusion-free-appstream-data.spec
+++ b/rpmfusion-free-appstream-data.spec
@@ -2,16 +2,16 @@
%global repoversion free
Name: %{reponame}-%{repoversion}-appstream-data
-Version: 30
-Release: 1.20181021%{?dist}
-Summary: Appstream metadata for the RPM Fusion free repository
+Version: 8
+Release: 1%{?dist}
+Summary: Appstream metadata for the RPM Fusion free 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
# script to generate appdata
Source2: update-appdata-rpmfusion-free.sh
@@ -19,7 +19,7 @@ BuildRequires: libappstream-glib
Supplements: appstream-data
%description
-Appstream metadata for packages in the RPM Fusion free repository
+Appstream metadata for packages in the RPM Fusion free el repository
%prep
@@ -33,52 +33,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
-- Include generation timestamp so that the package is more informative
+* 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-3
-- Update
-
-* Mon Apr 02 2018 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 29-2
-- rebuilt
-
-* Sat Mar 31 2018 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 29-1
-- Rebuild for f29
-
-* Mon Nov 13 2017 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 28-1
-- Update for rawhide
-
-* Mon Nov 14 2016 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 26-1
-- Regenerate and update for f26
-
-* Mon Nov 14 2016 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 25-3
-- Add weak dep on Fedora appstream data
-
-* Mon Nov 14 2016 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 25-2
-- Regenerate and update
-
-* Mon Jul 25 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 more appdata files
-
-* Fri May 22 2015 Ankur Sinha <ankursinha AT fedoraproject DOT org> 22-3
-- regenerate with screenshot support
-
-* Fri May 22 2015 Ankur Sinha <ankursinha AT fedoraproject DOT org> 22-2
-- Update - also specify origin when generating data
-
-* Thu May 21 2015 Ankur Sinha <ankursinha AT fedoraproject DOT org> 22-1
-- Initial build
diff --git a/sources b/sources
index 0c20fd4..56524b6 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-fc7167ff4f19a86d09793a34aa18ef13 rpmfusion-free-30-icons.tar.gz
-53a0655060a78b0940e9ffb7f0b23a87 rpmfusion-free-30.xml.gz
+SHA512 (rpmfusion-free-el8-icons.tar.gz) =
81b191ea32f822e835461ca0f0b7ee3019068260cddf190d7101c4158ee986961829848bbec54ea462809f4bccfc9454b3b65334ca2cb251300e991a71af790e
+SHA512 (rpmfusion-free-el8.xml.gz) =
b366e57260d81e359ec16108bd0e4b45dd1d618bcf504f20407f95276ec417fca48489244cf4e917052941deed0498eecb01c33e6525b5eef801afc05bc21168
diff --git a/update-appdata-rpmfusion-free.sh b/update-appdata-rpmfusion-free.sh
index e00b778..49efde9 100755
--- a/update-appdata-rpmfusion-free.sh
+++ b/update-appdata-rpmfusion-free.sh
@@ -7,14 +7,8 @@ main ()
mkdir rpmfusion-free/ -pv
cd rpmfusion-free || exit -1
- if [ "$RELEASE" = "30" ]; then
-
URL="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/free/fe...
- elif [ "$RELEASE" = "29" ]; then
-
URL="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/free/fe...
- elif [ "$RELEASE" = "28" ]; then
-
URL="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/free/fe...
- elif [ "$RELEASE" = "27" ]; then
-
URL="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/free/fe...
+ if [ "$RELEASE" = "8" ]; then
+
URL="rsync://rsync.mirrorservice.org/download1.rpmfusion.org/free/el...
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-free-$RELEASE"
--origin="rpmfusion-free-$RELEASE" \
+ --packages-dir=./ --temp-dir=./tmp/ --output-dir=./appstream-data/ \
+ --basename="rpmfusion-free-el$RELEASE"
--origin="rpmfusion-free-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 free repository"
echo "options:"
- echo "-r <release> one of 27, 28, 29, and 30"
+ echo "-r <release> one of 8"
}