43 lines
1.1 KiB
RPMSpec
43 lines
1.1 KiB
RPMSpec
|
# This spec file has been automatically updated
|
||
|
Version: 0.1.9
|
||
|
Release: 2%{?dist}
|
||
|
Name: cockpit-composer
|
||
|
Summary: Composer GUI for use with Cockpit
|
||
|
|
||
|
License: MIT
|
||
|
URL: http://weldr.io/
|
||
|
Source0: https://github.com/weldr/welder-web/releases/download/%{version}/cockpit-composer-%{version}.tar.gz
|
||
|
|
||
|
BuildArch: noarch
|
||
|
BuildRequires: libappstream-glib
|
||
|
|
||
|
Requires: cockpit
|
||
|
Requires: lorax-composer
|
||
|
|
||
|
%description
|
||
|
Composer GUI for Cockpit and lorax-composer
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n cockpit-composer-%{version}
|
||
|
|
||
|
%build
|
||
|
# Nothing to build
|
||
|
|
||
|
%install
|
||
|
mkdir -p %{buildroot}/%{_datadir}/cockpit/welder
|
||
|
cp -a public/dist/* %{buildroot}/%{_datadir}/cockpit/welder
|
||
|
mkdir -p %{buildroot}/%{_datadir}/metainfo/
|
||
|
appstream-util validate-relax --nonet io.weldr.cockpit-composer.metainfo.xml
|
||
|
cp -a io.weldr.cockpit-composer.metainfo.xml %{buildroot}/%{_datadir}/metainfo/
|
||
|
|
||
|
%files
|
||
|
%doc README.md
|
||
|
%license LICENSE.txt
|
||
|
%{_datadir}/cockpit/welder
|
||
|
%{_datadir}/metainfo/*
|
||
|
|
||
|
%changelog
|
||
|
* Thu Mar 07 2019 Cockpit Project <cockpituous@gmail.com> - 0.1.9-2
|
||
|
- Update to upstream 0.1.9 release
|
||
|
|