Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
gnugo
gnugo.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnugo.spec of Package gnugo
# # spec file for package gnugo # # Copyright (c) 2015 SUSE LINUX 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: gnugo Version: 3.9.1+git20130613.84a32e9 Release: 0 Summary: Chinese Board Game "Go" License: GPL-3.0+ Group: Amusements/Games/Board/Other Url: http://www.gnu.org/software/gnugo/gnugo.html Source: %{name}-%{version}.tar.xz Source1: suse-start-gnugo.el Source2: xemacs-auto-autoloads.el Patch: xemacs.patch Patch1: mouse-2-dont-insert-junk.patch BuildRequires: emacs-x11 BuildRequires: fdupes BuildRequires: ncurses-devel BuildRequires: xemacs BuildRequires: xz Requires(pre): %{install_info_prereq} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Chinese ancient board game. %prep %setup -q %patch -p1 %patch1 -p1 %build %configure --prefix=%{_prefix} make %{?_smp_mflags} pushd interface/xpms emacs -batch --no-site-file \ -l ../make-xpms-file.el -f make-xpms-file gnugo-xpms.el *.xpm popd %install make DESTDIR=%{buildroot} install %{?_smp_mflags} rm -f %{buildroot}%{_infodir}/dir* # GNU Emacs: mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp/gnugo for i in $(find . -name "*.el") do emacs -no-site-file -q -batch -f batch-byte-compile $i install -m 644 ${i} ${i}c \ %{buildroot}%{_datadir}/emacs/site-lisp/gnugo done install -m 644 %{SOURCE1} \ %{buildroot}%{_datadir}/emacs/site-lisp # XEmacs: find . -name "*.elc" | xargs rm mkdir -p %{buildroot}%{_datadir}/xemacs/site-packages/lisp/gnugo for i in $(find . -name "*.el") do xemacs -no-site-file -q -batch -f batch-byte-compile $i install -m 644 ${i} ${i}c \ %{buildroot}%{_datadir}/xemacs/site-packages/lisp/gnugo done install -m 644 %{SOURCE2} \ %{buildroot}%{_datadir}/xemacs/site-packages/lisp/gnugo/auto-autoloads.el %fdupes %{buildroot}%{_prefix}/share %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %files %defattr(-,root,root) %doc COPYING AUTHORS THANKS ChangeLog TODO README NEWS %{_bindir}/%{name} %{_infodir}/gnugo.info*.gz %{_mandir}/man6/gnugo.6.gz %dir %{_datadir}/emacs/site-lisp/gnugo/ %{_datadir}/emacs/site-lisp/gnugo/* %{_datadir}/emacs/site-lisp/suse-start-gnugo.el %dir %{_datadir}/xemacs/site-packages/ %dir %{_datadir}/xemacs/site-packages/lisp/ %dir %{_datadir}/xemacs/site-packages/lisp/gnugo/ %{_datadir}/xemacs/site-packages/lisp/gnugo/* %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