# # spec file for package racket # # Copyright (c) 2012, 2013 Togan Muftuoglu toganm@opensuse.org # # 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: racket Version: 5.3.3 Release: 0 Summary: Scheme implementation with teaching tools License: LGPL-2.1+ and GPL-3.0+ Group: Development/Languages/Scheme Url: http://racket-lang.org Source0: %name-%version-src-unix.tgz Source1: drracket.desktop Source2: racket-completion.bash Source3: racket-5.3.rpmlintrc Source4: drracket.png # PATCH-FIX-OPENSUSE taken from debian package author David Bremner Patch0: 0001-pkg-collects-path.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: chrpath BuildRequires: desktop-file-utils BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libjpeg-devel BuildRequires: update-desktop-files BuildRequires: ImageMagick BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(libffi) BuildRequires: libpng-devel BuildRequires: librsvg-devel BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xaw7) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xft) BuildRequires: pkgconfig(xmu) BuildRequires: pkgconfig(xrender) BuildRequires: pkgconfig(xt) BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(pixman-1) >= 0.22.0 BuildRequires: ghostscript-fonts-std %if 0%{?suse_version} == 1220 BuildRequires: libexpat1 %endif # maggia has this # Disable the debug package since otherwise a build would create the following # error message: # *** ERROR: same build ID in nonidentical files! # /usr/bin/mzscheme # and /usr/bin/mred # this should be set from the obs #%%define debug_package %%{nil} %description Racket (formerly called PLT Scheme) is a multi-paradigm programming language in the Lisp/Scheme family, that also serves as a platform for language creation, design, and implementation. The programming language is known for its powerful macro system which enables the creation of embedded and domain-specific languages, language constructs such as classes or modules, and separate dialects of Racket enable different semantics. %package -n drracket Summary: Racket Scheme graphical development environment Group: Development/Languages/Scheme Requires: %{name} = %{version}-%{release} %description -n drracket DrRacket is the graphical development environment for creating Racket applications. %package games Summary: Sample games from Racket Scheme Group: Amusements/Games/Other Requires: %{name} = %{version}-%{release} %description games This package contains sample games from Racket project. %package webserver Summary: Webserver from Racket Group: Productivity/Networking/Web/Servers %description webserver Webserver from Racket Scheme. %package devel Summary: Development header files for PLT Group: Development/Languages/Scheme Requires: %{name} = %{version}-%{release} Requires: glibc-devel Requires: libffi-devel %description devel This package contains the symlinks, headers and object files needed to compile and link programs which use PLT. %prep %setup -q %patch0 -p1 cp %{S:1} src/. cp %{S:2} src/. cp %{S:4} src/. ## debian had licence isssue before enabling these check # ( while read -r name ; do # rm -r $name # done ) <