!1 obs-service-extract_file: package init
Merge pull request !1 from Grooooot/master
This commit is contained in:
commit
9059603037
BIN
obs-service-extract_file-8ea7a76.tar.gz
Normal file
BIN
obs-service-extract_file-8ea7a76.tar.gz
Normal file
Binary file not shown.
33
obs-service-extract_file.spec
Normal file
33
obs-service-extract_file.spec
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
%global commit 8ea7a76324b19e0ea3b1a559cbdfb8da9d038304
|
||||||
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||||
|
|
||||||
|
Name: obs-service-extract_file
|
||||||
|
Version: 0.3
|
||||||
|
Release: 4
|
||||||
|
Summary: An OBS source service: Extract a file from an archive
|
||||||
|
License: GPLv2+
|
||||||
|
URL: https://github.com/openSUSE/obs-service-extract_file
|
||||||
|
Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires: cpio bzip2 findutils gzip tar unzip xz
|
||||||
|
|
||||||
|
%description
|
||||||
|
This is a source service for openSUSE Build Service, it supports to
|
||||||
|
extract a file from an archive.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-%{commit}
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}/usr/lib/obs/service
|
||||||
|
install -pm 0755 extract_file %{buildroot}/usr/lib/obs/service
|
||||||
|
install -pm 0644 extract_file.service %{buildroot}/usr/lib/obs/service
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license debian/copyright
|
||||||
|
%dir /usr/lib/obs
|
||||||
|
/usr/lib/obs/service
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Mar 4 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.3-4
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user