Skip to content

Commit

Permalink
feat: add ultramarine-appstream-metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
lleyton committed May 6, 2024
1 parent efdf0be commit 9667fd1
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ultramarine/ultramarine-appstream-metadata/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
project "pkg" {
rpm {
spec = "ultramarine-shell-config.spec"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Summary: Operating System AppStream Metadata for Ultramarine Linux
Name: ultramarine-appstream-metadata
# Use the time of the last metadata update as version
Version: 20240506
Release: %autorelease
License: MIT
URL: https://ultramarine-linux.org/
Source0: https://github.com/Ultramarine-Linux/ultramarine-appstream-metadata/archive/refs/tags/20240506.tar.gz
BuildArch: noarch

%description
Operating System AppStream Metadata for Ultramarine Linux

%prep
%autosetup
# only appstream 1.0 knows about "snapshot" releases
%if 0%{?fedora} < 40
sed -i '/<release / s/type="snapshot"/type="development"/' org.ultramarine-linux.ultramarine.metainfo.xml
%endif

%build

%install
install -Dpm 0644 org.ultramarine-linux.ultramarine.metainfo.xml %{buildroot}%{_datadir}/metainfo/org.ultramarine-linux.ultramarine.metainfo.xml

%files
%license LICENSE
%{_datadir}/metainfo/org.ultramarine-linux.ultramarine.metainfo.xml

%changelog
%autochangelog

0 comments on commit 9667fd1

Please sign in to comment.