Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Lazy_Kent:devel
digger
digger.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File digger.spec of Package digger
# # spec file for package digger # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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: digger Version: 20020314 Release: 0 License: GPL-2.0+ Summary: Unix Version of the old Classic Game Url: http://www.digger.org/index.html Group: Amusements/Games/Action/Arcade Source0: http://www.digger.org/%{name}-%{version}.tar.gz Source1: digger-16x16.png Source2: digger-32x32.png Source3: digger-48x48.png # http://www.digger.org/faq.html # PATCH-FIX-UPSTREAM digger-20020314-update-digger.txt-with-legal-info.patch -- update digger.txt with legal info Patch0: digger-20020314-update-digger.txt-with-legal-info.patch # PATCH-FIX-OPENSUSE digger-20020314-optflags.patch lazy.kent@opensuse.org -- use optimization flags Patch1: digger-20020314-optflags.patch BuildRequires: hicolor-icon-theme BuildRequires: update-desktop-files BuildRequires: pkgconfig(sdl) BuildRequires: pkgconfig(zlib) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is the Unix version of the old classic game Digger. It has many new features including: * Exit button. * Optional VGA graphics. * Recording and playback. * Real time speed control. * Keyboard redefinition. * Gauntlet mode. * Two player simultaneous mode. %prep %setup -q %patch0 -p1 %patch1 sed -i 's/\r$//' digger.txt %build make %{?_smp_mflags} -f Makefile.sdl OPTFLAGS="%{optflags}" %install install -Dm 755 %{name} %{buildroot}%{_bindir}/%{name} # Create desktop file. cat > %{name}.desktop << EOF [Desktop Entry] Name=Digger GenericName=Digger Remasterd Type=Application Exec=digger Icon=digger Categories=Game;ArcadeGame; Comment=Unix Version of the old Classic Game Digger Comment[ru]=Unix-версия старого доброго Диггера StartupNotify=true Terminal=false EOF install -Dm 0644 %{SOURCE1} \ %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%{name}.png install -Dm 0644 %{SOURCE2} \ %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png install -Dm 0644 %{SOURCE3} \ %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png %suse_update_desktop_file -i %{name} %post %icon_theme_cache_post %postun %icon_theme_cache_postun %files %defattr(-,root,root,-) %doc digger.txt %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/*/%{name}.* %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