foo
This commit is contained in:
commit
d89ab70600
4
foo.changes
Normal file
4
foo.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 23 12:48:05 UTC 2024 - Adam Majer <amajer@suse.com>
|
||||||
|
|
||||||
|
- stuff
|
46
foo.spec
Normal file
46
foo.spec
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
#
|
||||||
|
# spec file for package foo
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: foo
|
||||||
|
Version: 1
|
||||||
|
Release: 0
|
||||||
|
Summary: test
|
||||||
|
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
|
||||||
|
License: MIT
|
||||||
|
URL: https://zombino.com
|
||||||
|
Source0: hello.c
|
||||||
|
BuildRequires: gcc
|
||||||
|
|
||||||
|
%description
|
||||||
|
test
|
||||||
|
|
||||||
|
%prep
|
||||||
|
|
||||||
|
%build
|
||||||
|
gcc -Wall -o hello %SOURCE0
|
||||||
|
./hello
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -d %buildroot%_bindir
|
||||||
|
install ./hello %buildroot%_bindir
|
||||||
|
|
||||||
|
%files
|
||||||
|
%_bindir/hello
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
|
Loading…
Reference in New Issue
Block a user