SHA256
1
0
forked from pool/openscad

Accepting request 73370 from home:prusnak:reprap

please review

OBS-URL: https://build.opensuse.org/request/show/73370
OBS-URL: https://build.opensuse.org/package/show/graphics/openscad?expand=0&rev=1
This commit is contained in:
OBS User mrdocs
2011-06-10 21:10:53 +00:00
committed by Git OBS Bridge
commit 964e04ad40
6 changed files with 122 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:06638ae8c78aeb6c15b15403b34f72229894733eaf57d4a988b6503df535c036
size 918915

19
openscad-nolocal.patch Normal file
View File

@@ -0,0 +1,19 @@
--- openscad.pro
+++ openscad.pro
@@ -189,13 +189,13 @@ macx {
SOURCES += src/AppleEvents.cc
}
-target.path = /usr/local/bin/
+target.path = /usr/bin/
INSTALLS += target
-examples.path = /usr/local/share/openscad/examples/
+examples.path = /usr/share/openscad/examples/
examples.files = examples/*
INSTALLS += examples
-libraries.path = /usr/local/share/openscad/libraries/
+libraries.path = /usr/share/openscad/libraries/
libraries.files = libraries/*
INSTALLS += libraries

10
openscad.changes Normal file
View File

@@ -0,0 +1,10 @@
-------------------------------------------------------------------
Fri May 13 14:46:17 UTC 2011 - prusnak@opensuse.org
- updated to 2011.04
-------------------------------------------------------------------
Wed Oct 13 13:19:53 UTC 2010 - prusnak@opensuse.org
- created package (2010.05)

66
openscad.spec Normal file
View File

@@ -0,0 +1,66 @@
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: openscad
Version: 2011.04
Release: 1
License: GPLv2+
Summary: Programmers Solid 3D CAD Modeller
Url: http://openscad.org/
Group: Productivity/Graphics/CAD
Source: https://github.com/downloads/openscad/openscad/%{name}-%{version}.src.tar.gz
Patch0: %{name}-nolocal.patch
BuildRequires: flex
BuildRequires: glew-devel
BuildRequires: libcgal-devel
BuildRequires: opencsg-devel
%if 0%{?suse_version}
BuildRequires: bison
BuildRequires: libeigen2-devel
BuildRequires: libqt4-devel
%endif
%if 0%{?fedora_version}
BuildRequires: byacc
BuildRequires: eigen2-devel
BuildRequires: gcc-c++
BuildRequires: qt-devel
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
OpenSCAD is a software for creating solid 3D CAD objects.
Unlike most free software for creating 3D models it does
not focus on the artistic aspects of 3D modelling but
instead on the CAD aspects. Thus it might be the application
you are looking for when you are planning to create 3D models
of machine parts but pretty sure is not what you are looking
for when you are more interested in creating computer-animated
movies.
%prep
%setup -q
%patch0
%build
%if 0%{?suse_version}
qmake
%endif
%if 0%{?fedora_version}
qmake-qt4
%endif
make %{?_smp_mflags}
%install
make INSTALL_ROOT=%{buildroot} install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc COPYING README RELEASE_NOTES
%{_bindir}/openscad
%{_datadir}/openscad/
%changelog