diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 57e8ea8..0000000 --- a/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -# sources -/pycam-*.tar.gz -/pycam-*.tar.bz2 - -# fedpkg local build artifacts -/pycam-[0-9]*[0-9]/ -/noarch/ -/.build-*.log -/pycam-*.src.rpm -/review-pycam/ - -# upstream git source tree -/pycam/ diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..34bd71f --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Upstream is unmaintained diff --git a/pycam.spec b/pycam.spec deleted file mode 100644 index e09c0b3..0000000 --- a/pycam.spec +++ /dev/null @@ -1,142 +0,0 @@ -Name: pycam -Version: 0.5.1 -Release: 13%{?dist} -Summary: Open Source CAM - Toolpath Generation for 3-Axis CNC machining -License: GPLv3+ -URL: http://sourceforge.net/projects/%{name}/ -BuildArch: noarch - -Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz - -BuildRequires: python2-devel -BuildRequires: ccache -BuildRequires: desktop-file-utils - -Requires: PyOpenGL -Requires: pygtk2 -Requires: pygtkglext -# Needed because it owns the icon directories -Requires: hicolor-icon-theme - - -%description -PyCAM is a toolpath generator for 3-axis CNC machining. It loads 3D -models in STL format or 2D contour models from DXF or SVG files. The -resulting GCode can be used with EMC2 or any other machine controller. - -PyCAM supports a wide range of toolpath strategies for 3D models and -2D contour models. - - -%prep -%setup -q - -for f in ./*.{txt,TXT} ./Changelog ./PKG-INFO; do - iconv -f iso-8859-1 -t utf-8 $f |sed 's|\r||g' > $f.utf8 - touch -c -r $f $f.utf8 - mv $f.utf8 $f -done - - -%build -%py2_build - - -%install -%py2_install - -desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ - share/desktop/%{name}.desktop - -pushd $RPM_BUILD_ROOT%{python_sitelib}/%{name}/ -# remove shebang lines from top of module files -for lib in `find . -path "*.py"`; do - echo $lib - sed '/\/usr\/bin\/env/d' $lib > $lib.new && \ - touch -r $lib $lib.new && \ - mv $lib.new $lib -done -popd - -# Install icons -install -pD -m 0644 share/mime/application-sla.svg \ - %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/pycam.svg -install -pD -m 0644 share/mime/icons/32x32/application-sla.png \ - %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/pycam.png -install -pD -m 0644 share/mime/icons/64x64/application-sla.png \ - %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/pycam.png -install -pD -m 0644 share/mime/icons/128x128/application-sla.png \ - %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/pycam.png - -# Install man page -install -pD -m 0644 man/pycam.1 %{buildroot}%{_mandir}/man1/pycam.1 - -%files -%doc Changelog COPYING.TXT LICENSE.TXT PKG-INFO README.TXT -%{_datadir}/%{name}/ -%{_bindir}/%{name} -%{_datadir}/applications/pycam.desktop -%{_datadir}/icons/hicolor/*/apps/%{name}.* -%{_mandir}/man1/%{name}.1.* -%{python2_sitelib}/* - - -%changelog -* Sat Feb 02 2019 Fedora Release Engineering - 0.5.1-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering - 0.5.1-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Feb 09 2018 Fedora Release Engineering - 0.5.1-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jan 18 2018 Igor Gnatenko - 0.5.1-10 -- Remove obsolete scriptlets - -* Thu Jul 27 2017 Fedora Release Engineering - 0.5.1-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 0.5.1-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Tue Jul 19 2016 Fedora Release Engineering - 0.5.1-7 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Thu Feb 04 2016 Fedora Release Engineering - 0.5.1-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Thu Jun 18 2015 Fedora Release Engineering - 0.5.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 0.5.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sun Aug 04 2013 Fedora Release Engineering - 0.5.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Wed May 1 2013 John Morris - 0.5.1-2 -- More fixes for Fedora review from Richard Shaw -- BR python2-devel -- Add icons -- Add man page - -* Thu Apr 4 2013 John Morris - 0.5.1-1 -- Use pycam.desktop from upstream; remove Source1 -- Cleanups for Fedora review - -* Sat May 5 2012 - 0.5.1-0 -- Update to v.0.5.1 - -* Fri Aug 20 2010 Fabian Kanngießer - 0.3-3 -- added a pygtk2 as said in the install textfile as dependency - -* Fri Aug 20 2010 Fabian Kanngießer - 0.3-2 -- updated license to version given in the license textfile - -* Thu Aug 19 2010 Fabian Kanngießer - 0.3-1 -- removed unneeded files, comments and added dependencies so that the - application works correctly, added desktop file - -* Wed Aug 18 2010 Fabian Kanngießer - 0.3-0 -- initial packaging diff --git a/sources b/sources deleted file mode 100644 index 1d7db81..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -4fb563e796c8a15aeef86866b95f92fc pycam-0.5.1.tar.gz