Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
squirrel
squirrel.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File squirrel.spec of Package squirrel
# # spec file for package squirrel # # 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/ # %define tardir SQUIRREL3 %define tarver 3_0_7 Name: squirrel Summary: A high level imperative/OO programming language License: MIT Group: Development/Languages/Other Version: 3.0.7 Release: 0 Url: http://squirrel-lang.org/ BuildRequires: dos2unix BuildRequires: gcc-c++ BuildRequires: libtool Source: http://downloads.sourceforge.net/project/squirrel/squirrel3/squirrel%203.0.7%20stable/%{name}_%{tarver}_stable.tar.gz Patch0: squirrel-autoconfiscate.patch.bz2 Patch1: squirrel-aliasing.patch Patch2: squirrel-ptr_conversion.patch Patch3: squirrel-rename_binary.patch Patch4: squirrel-gcc47.patch %description Squirrel is a light weight programming language featuring higher-order functions,classes/inheritance, delegation,tail recursion,generators,cooperative threads,exception handling, reference counting and garbage collection on demand. C-like syntax. %package devel Summary: Development files for %name Group: Development/Languages/C and C++ Requires: %name = %version %description devel This package contains everything to embed the Squirrel engine in your own application. %package devel-static Summary: Static squirrel libraries Group: Development/Languages/C and C++ Requires: %name = %version %description devel-static This package contains the static versions of the engine and standard lbrary. %package doc Summary: Documentation for %{name} Group: Development/Languages/Other Requires: %name = %version BuildArch: noarch %description doc Documentation files for squirrel. %package examples Summary: Example scripts for %{name} Group: Development/Languages/Other Requires: %name = %version BuildArch: noarch %description examples Example scripts to show squirrel usage. %prep %setup -q -n %{tardir} dos2unix -q $(find . -type f) %patch0 %patch1 %patch2 -p1 %patch3 %patch4 -p1 find . -type f -exec chmod -x {} \; chmod +x configure config.guess config.sub depcomp install-sh ltmain.sh missing autoreconf -fi %build export CXXFLAGS="%{optflags} -std=gnu++0x" export CFLAGS="%{optflags}" %configure --enable-static make %{?_smp_mflags} %install %makeinstall install -d %{buildroot}/%{_defaultdocdir}/%name install -m 644 README HISTORY COPYRIGHT %{buildroot}/%{_defaultdocdir}/%name %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,755) %dir %{_defaultdocdir}/%{name} %doc %{_defaultdocdir}/%{name}/README %doc %{_defaultdocdir}/%{name}/HISTORY %doc %{_defaultdocdir}/%{name}/COPYRIGHT %{_bindir}/sqrl %{_libdir}/*.so.* %files devel %defattr(-,root,root,755) %{_includedir}/* %{_libdir}/*.so %files devel-static %defattr(-,root,root,755) %{_libdir}/*.a %{_libdir}/*.la %files doc %defattr(-,root,root) %exclude %{_defaultdocdir}/%{name}/README %exclude %{_defaultdocdir}/%{name}/HISTORY %exclude %{_defaultdocdir}/%{name}/COPYRIGHT %{_defaultdocdir}/%name/* %files examples %defattr(644,root,root,755) %{_datadir}/%{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