Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:2024:games
instead
instead.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File instead.spec of Package instead
# # spec file for package instead # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2012-2014 openSUSE_user1 # # 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 http://bugs.opensuse.org/ # Name: instead Version: 2.3.0 Release: 0 Summary: Simple text adventures/visual novels engine and game License: MIT Group: Amusements/Games/Other Url: http://instead.syscall.ru/index.html Source0: https://github.com/instead-hub/instead/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: SDL-devel BuildRequires: SDL_image-devel BuildRequires: SDL_mixer-devel BuildRequires: SDL_ttf-devel BuildRequires: fdupes BuildRequires: lua-devel BuildRequires: update-desktop-files %if 0%{?suse_version} >= 1310 BuildRequires: zlib-devel >= 1.2.4 %endif Recommends: %{name}-launcher BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Simple text adventures/visual novels engine and game Visual "novell/text/classical 90'ss quests" quest-like game in Russian with engine. %package docs Summary: Documentation for instead Group: Documentation/Other BuildArch: noarch %description docs This package contains additional documentation for Instead %prep %setup -q # set bin dir to /usr/games if needed #sed -i 's|"BIN=\\\$(DESTDIR)\\\$(PREFIX)/bin/"|"BIN=\\\$(DESTDIR)\\\$(PREFIX)/games/"|' configure.sh # add $RPM_OPT_FLAGS sed -i 's|echo "EXTRA_CFLAGS+=\$CFLAGS"|echo "EXTRA_CFLAGS+=\$CFLAGS \%{optflags}"|' configure.sh echo -e "2\n\/usr" | ./configure.sh %build make %{?_smp_mflags} %install %make_install # fix .desktop file for 13.1+ versions sed -i 's|Exec=%{_bindir}/|Exec=%{_bindir}|' %{buildroot}%{_datadir}/applications/%{name}.desktop %suse_update_desktop_file %{name} %fdupes %{buildroot}%{_prefix} %files %defattr(-,root,root,-) %dir %{_datadir}/%{name} %{_mandir}/man6/* %exclude %{_datadir}/doc %{_bindir}/* %{_datadir}/%{name}/* %{_datadir}/applications/* %{_datadir}/pixmaps/* %files docs %defattr(-,root,root,-) %{_datadir}/doc/* %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