Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:munix9:unstable
openparsec-assets
openparsec-assets.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openparsec-assets.spec of Package openparsec-assets
# # spec file for package openparsec-assets # # copyright (c) 2024 munix9@googlemail.com # Name: openparsec-assets Version: 2022 Release: 0 Summary: 3D space shooter game License: SUSE-Redistributable-Content URL: https://www.openparsec.com/ Source0: %{name}-%{version}.tar.gz BuildRequires: fdupes Requires: openparsec BuildArch: noarch %description All the datafiles and assets (e.g. images, sounds, models, etc.) for OpenParsec. %prep %autosetup -c -T -p1 %build # nop %install install -d -m 0755 %{buildroot}%{_datadir}/openparsec tar -xf %{SOURCE0} --strip-components=1 -C %{buildroot}%{_datadir}/openparsec # remove backup files rm %{buildroot}%{_datadir}/openparsec/cons/.bindings.con.swp find %{buildroot}%{_datadir}/openparsec -type f -exec chmod 0644 {} ';' mv %{buildroot}%{_datadir}/openparsec/{LICENSE.artwork_sound,README.md} . # fix wrong-file-end-of-line-encoding sed -e "s/\r$//" -i LICENSE.artwork_sound # move/link configs to /etc install -D -m 0644 -t %{buildroot}%{_sysconfdir}/openparsec \ %{buildroot}%{_datadir}/openparsec/init.con ln -sf %{_sysconfdir}/openparsec/init.con %{buildroot}%{_datadir}/openparsec %fdupes -s %{buildroot}%{_datadir}/openparsec %files %license LICENSE.artwork_sound %doc README.md %{_datadir}/openparsec %dir %{_sysconfdir}/openparsec %config(noreplace) %{_sysconfdir}/openparsec/init.con %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor