Skip to content

Commit

Permalink
[ci] Improve spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
gbaudic committed Nov 15, 2024
1 parent e5a7e81 commit f4e0c2d
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions linbound.spec
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ a multiplayer turn-based arcade game with a gameplay very close
to Worms, Hedgewars or WarMUX. It is primarily targeted to Linux
but it aims to be as cross-platform as possible.

%package data
BuildArch: noarch

%package server

%description data
This package contains the game files.

Expand All @@ -56,19 +61,23 @@ cmake . -DENABLE_SERVER=ON
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
%make_install

%files
%defattr(-,root,root,-)
%doc README.md
%doc AUTHORS
%license LICENSE
/usr/local/bin/linbound
%attr(755,root,root) /usr/local/bin/linbound

%files data
%defattr(-,root,root,-)
res/

%files server
/usr/local/bin/linbound_server
%defattr(-,root,root,-)
%attr(755,root,root) /usr/local/bin/linbound_server

%changelog
* date <email@mail.com>
Expand Down

0 comments on commit f4e0c2d

Please sign in to comment.