File my-first-obs-package.spec of Package my-first-obs-package

Name:           my-first-obs-package
Version:        0.1.0
Release:        0
License:        GPL-3.0
Group:          Documentation
Summary:        Frobnication Tool
Url:            https://github.com/obs-example/my-first-obs-package
Source:         my-first-obs-package-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch    # Add this if your package has no architecture-specific files

%description
This tool frobnicates the bar with the foo when choosing the baz.

%prep
%setup -q -n %{name}-%{version}

%build
# Empty or remove if no building needed

%install
mkdir -p %{buildroot}%{_datadir}/%{name}
cp -r * %{buildroot}%{_datadir}/%{name}

%files
%defattr(-,root,root,-)
%doc LICENSE *.txt
%{_datadir}/%{name}

%changelog
openSUSE Build Service is sponsored by