File inkscape-gears-dev.spec of Package inkscape-gears-dev
#
# spec file for package
#
# Copyright (c) 2013 SUSE LINUX Products 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: inkscape-gears-dev
Version: 20111211_jw3
Release: 0
Summary: An improved version of the gears plugin
License: GPL-2.0+
Group: Development/Languages/Python
Url: git@github.com:jnweiger/inkscape-gears-dev.git
# Url1: http://cnc-club.ru/forum/viewtopic.php?f=33&t=434&p=2594#p2500
# Url2: https://bugs.launchpad.net/inkscape/+bug/707290
Source0: https://bugs.launchpad.net/inkscape/+bug/707290/+attachment/2628055/+files/gears-dev.tar.gz
Patch1: metric_module.patch
Patch2: extended_ranges.patch
Patch3: selectable_accuracy.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
It adds holes to the gear (central hole for the shaft and some radial holes to make gear lighter).
- More accurate tooth profile. In earlier versions the involute curve was approximated by only three points; now by 15 (can be modified in the source code)
- Center cross (easy for aligning); off by default, can be turned on
- Pitch circle (easy for meshing; circles should touch for meshing gears); off by defalut can be turned on
- Info: in the SVG there is now an extra field telling a little about the gear (easy if you want to make a meshing gear but you forgot the settings used)
Authors
-------
Nick (lp:~xepecine)
Gijs van Oort (lp:~gijsvanoort)
%prep
%setup -T -c -n %name -a 0
# metric_module.patch
%patch1 -p1
# extended_ranges.patch
%patch2 -p1
# selectable_accuracy.patch
%patch3 -p1
%build
%install
install -d -m 755 %{buildroot}%{_datadir}/inkscape/extensions/
install -m 644 gears-dev.inx %{buildroot}%{_datadir}/inkscape/extensions/
install -m 755 gears-dev.py %{buildroot}%{_datadir}/inkscape/extensions/
%files
%defattr(-,root,root,-)
%dir %{_datadir}/inkscape
%dir %{_datadir}/inkscape/extensions
%{_datadir}/inkscape/extensions/*
%changelog