mirror of
https://abf.rosa.ru/djam/freecad.git
synced 2025-02-23 14:02:52 +00:00
Updated to 0.17
This commit is contained in:
parent
0a42557aec
commit
63b933909b
2 changed files with 32 additions and 23 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
||||||
sources:
|
sources:
|
||||||
FreeCAD-0.16.tar.gz: 5e8956588e87b18c8c4140cbdcaa1229c04907bb
|
FreeCAD-0.17.tar.gz: 394025ef2fea9897c6e26e7045f03cef4fc3032f
|
||||||
|
|
53
freecad.spec
53
freecad.spec
|
@ -1,36 +1,44 @@
|
||||||
%define oname FreeCAD
|
%define oname FreeCAD
|
||||||
|
|
||||||
Summary: FreeCAD is a general purpose 3D CAD modeler
|
Summary: FreeCAD is a general purpose 3D CAD modeler
|
||||||
Name: freecad
|
Name: freecad
|
||||||
Version: 0.16
|
Version: 0.17
|
||||||
Release: 4
|
Release: 1
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
Group: Graphics
|
Group: Graphics
|
||||||
Url: http://www.freecadweb.org/
|
Url: http://www.freecadweb.org/
|
||||||
Source0: https://github.com/FreeCAD/FreeCAD/archive/%{oname}-%{version}.tar.gz
|
Source0: https://github.com/FreeCAD/FreeCAD/archive/%{version}.tar.gz?/%{oname}-%{version}.tar.gz
|
||||||
Source1: %{name}.desktop
|
Source1: %{name}.desktop
|
||||||
Source2: %{name}.1
|
Source2: %{name}.1
|
||||||
Source3: %{name}.rpmlintrc
|
Source3: %{name}.rpmlintrc
|
||||||
|
BuildRequires: boost-devel >= 1.33.1
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: eigen3 >= 3.0.1
|
BuildRequires: eigen3 >= 3.0.1
|
||||||
BuildRequires: gcc-gfortran
|
BuildRequires: gcc-gfortran
|
||||||
BuildRequires: python-matplotlib
|
|
||||||
BuildRequires: pyside-tools
|
|
||||||
BuildRequires: boost-devel >= 1.33.1
|
|
||||||
BuildRequires: libspnav-devel
|
BuildRequires: libspnav-devel
|
||||||
|
BuildRequires: med-devel
|
||||||
BuildRequires: opencascade-devel >= 5.2
|
BuildRequires: opencascade-devel >= 5.2
|
||||||
BuildRequires: qt4-devel
|
BuildRequires: openmpi-devel
|
||||||
BuildRequires: pkgconfig(glu)
|
|
||||||
BuildRequires: pkgconfig(SoQt) >= 1.2.0
|
|
||||||
BuildRequires: pkgconfig(Coin) >= 2.4.0
|
BuildRequires: pkgconfig(Coin) >= 2.4.0
|
||||||
|
BuildRequires: pkgconfig(SoQt) >= 1.2.0
|
||||||
BuildRequires: pkgconfig(freetype2)
|
BuildRequires: pkgconfig(freetype2)
|
||||||
|
BuildRequires: pkgconfig(glu)
|
||||||
BuildRequires: pkgconfig(gstreamer-0.10)
|
BuildRequires: pkgconfig(gstreamer-0.10)
|
||||||
|
BuildRequires: pkgconfig(jsoncpp)
|
||||||
BuildRequires: pkgconfig(ode)
|
BuildRequires: pkgconfig(ode)
|
||||||
BuildRequires: pkgconfig(opencv)
|
BuildRequires: pkgconfig(opencv)
|
||||||
|
BuildRequires: pkgconfig(pyside)
|
||||||
BuildRequires: pkgconfig(python) >= 2.5
|
BuildRequires: pkgconfig(python) >= 2.5
|
||||||
BuildRequires: pkgconfig(shiboken)
|
BuildRequires: pkgconfig(shiboken)
|
||||||
BuildRequires: pkgconfig(pyside)
|
|
||||||
BuildRequires: pkgconfig(xerces-c) >= 2.6
|
BuildRequires: pkgconfig(xerces-c) >= 2.6
|
||||||
|
BuildRequires: pyside-tools
|
||||||
|
BuildRequires: python-matplotlib
|
||||||
|
BuildRequires: python-vtk
|
||||||
|
BuildRequires: qt4-devel
|
||||||
|
BuildRequires: tcl-vtk
|
||||||
|
BuildRequires: tcl-vtk-qt
|
||||||
|
BuildRequires: vtk-devel
|
||||||
|
BuildRequires: vtk-test-suite
|
||||||
Requires: pyside
|
Requires: pyside
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
@ -44,28 +52,29 @@ AutoCAD LT) is not the focus, neither are animation and organic shapes (e.g.
|
||||||
Maya, 3D StudioMAX, Blender and Cinema 4D).
|
Maya, 3D StudioMAX, Blender and Cinema 4D).
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc ChangeLog.txt copying.lib data/License.txt build/doc/*
|
%doc ChangeLog.txt COPYING data/License.txt build/doc/*
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_libdir}/%{name}/bin/
|
%{_datadir}/%{name}/
|
||||||
%{_libdir}/%{name}/Mod/
|
|
||||||
%{_libdir}/%{name}/*.so
|
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||||
%{_datadir}/%{name}/
|
%{_libdir}/%{name}/*.so
|
||||||
|
%{_libdir}/%{name}/Mod/
|
||||||
|
%{_libdir}/%{name}/bin/
|
||||||
|
%{_libdir}/%{name}/Ext/freecad/__init__.py
|
||||||
%{_mandir}/man1/*.1*
|
%{_mandir}/man1/*.1*
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Devel package for %{name}
|
Summary: Devel package for %{name}
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{EVRD}
|
||||||
Group: Development/C++
|
Group: Development/C++
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Development files for FreeCAD.
|
Development files for FreeCAD.
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc ChangeLog.txt copying.lib
|
%doc ChangeLog.txt COPYING
|
||||||
%{_libdir}/%{name}/include/
|
%{_libdir}/%{name}/include/
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
@ -80,7 +89,7 @@ find ./src -name "*.h*" |xargs chmod 644
|
||||||
find ./src -name "*.cpp*" |xargs chmod 644
|
find ./src -name "*.cpp*" |xargs chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#define Werror_cflags %%nil
|
#%%define Werror_cflags %%{nil}
|
||||||
%cmake_qt4 -DCMAKE_BUILD_TYPE=Release \
|
%cmake_qt4 -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_INSTALL_PREFIX=%{_libdir}/%{name} \
|
-DCMAKE_INSTALL_PREFIX=%{_libdir}/%{name} \
|
||||||
-DCMAKE_INSTALL_INCLUDEDIR=%{_libdir}/%{name}/include \
|
-DCMAKE_INSTALL_INCLUDEDIR=%{_libdir}/%{name}/include \
|
||||||
|
@ -109,14 +118,14 @@ sed -i 's,@lib@,%{_lib},g' %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||||
|
|
||||||
# Install desktop icon
|
# Install desktop icon
|
||||||
install -pD -m 0644 src/Gui/Icons/%{name}.svg \
|
install -pD -m 0644 src/Gui/Icons/%{name}.svg \
|
||||||
%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||||
|
|
||||||
# Install man page
|
# Install man page
|
||||||
install -pD -m 0644 %{SOURCE2} %{buildroot}%{_mandir}/man1/%{name}.1
|
install -pD -m 0644 %{SOURCE2} %{buildroot}%{_mandir}/man1/%{name}.1
|
||||||
# Symlink manpage to other binary names
|
# Symlink manpage to other binary names
|
||||||
pushd %{buildroot}%{_mandir}/man1
|
pushd %{buildroot}%{_mandir}/man1
|
||||||
ln -sf %{name}.1.gz FreeCAD.1.gz.
|
ln -sf %{name}.1.gz FreeCAD.1.gz.
|
||||||
ln -sf %{name}.1.gz FreeCADCmd.1.gz
|
ln -sf %{name}.1.gz FreeCADCmd.1.gz
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# FIXME: Apparently there are no more include files to install.
|
# FIXME: Apparently there are no more include files to install.
|
||||||
|
|
Loading…
Add table
Reference in a new issue