[521] | 1 | %{!?python_siteinc: %define python_siteinc %(%{__python} -c "from distutils.sysconfig import get_python_inc; print get_python_inc()")} |
---|
| 2 | |
---|
| 3 | Summary: Scientific application for data analysis and technical graphics |
---|
| 4 | Summary(ja): 科学データ分析・視覚化に優れたアプリケーション |
---|
| 5 | Name: scigraphica |
---|
| 6 | Version: 2.1.0 |
---|
[5787] | 7 | Release: 3%{?_dist_release} |
---|
[521] | 8 | License: GPLv2+ |
---|
| 9 | Group: Applications/Productivity |
---|
| 10 | Url: http://scigraphica.sourceforge.net |
---|
| 11 | Source: http://dl.sourceforge.net/scigraphica/%{name}-%{version}.tar.gz |
---|
| 12 | Patch0: scigraphica-desktop.patch |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 14 | BuildRequires: libxml2-devel imlib-devel |
---|
[5787] | 15 | BuildRequires: python-devel python-numeric-devel |
---|
[521] | 16 | BuildRequires: libscigraphica-devel |
---|
| 17 | BuildRequires: gettext perl(XML::Parser) |
---|
| 18 | BuildRequires: desktop-file-utils |
---|
| 19 | Requires: python-numarray |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | SciGraphica is a free (GPL) scientific application for data analysis and |
---|
| 23 | technical graphics. It pretends to be a clone of the popular commercial |
---|
| 24 | (and expensive) application "Microcal Origin". It fully supplies plotting |
---|
| 25 | features for 2D, 3D and polar charts |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | %prep |
---|
| 29 | %setup -q |
---|
| 30 | %patch0 -p0 -b .desktop |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | %build |
---|
| 34 | %configure --disable-static --with-python-numeric-path=%{python_siteinc}/Numeric |
---|
| 35 | make %{?_smp_mflags} |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | %install |
---|
| 39 | rm -rf %{buildroot} |
---|
| 40 | make DESTDIR=%{buildroot} INSTALL="%{__install} -c -p" install |
---|
| 41 | |
---|
| 42 | find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' |
---|
| 43 | |
---|
| 44 | #Removing this pixmaps here as it is also packaged in libscigraphica |
---|
| 45 | rm -rf %{buildroot}%{_datadir}/pixmaps/sg_icon.xpm |
---|
| 46 | |
---|
| 47 | desktop-file-install --delete-original \ |
---|
| 48 | --vendor fedora \ |
---|
| 49 | --dir=%{buildroot}%{_datadir}/applications \ |
---|
| 50 | %{buildroot}%{_datadir}/gnome/apps/Applications/sg.desktop |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %clean |
---|
| 54 | rm -rf %{buildroot} |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %files |
---|
| 58 | %defattr(-,root,root,-) |
---|
| 59 | %doc AUTHORS COPYING ChangeLog TODO |
---|
| 60 | %{_bindir}/%{name} |
---|
| 61 | %{_libdir}/%{name}/%{version}/plugins/project/ |
---|
| 62 | %{_datadir}/applications/*.desktop |
---|
| 63 | %{_datadir}/gnome/help/%{name}/ |
---|
| 64 | %{_datadir}/pixmaps/%{name}/ |
---|
| 65 | %{_datadir}/%{name}/ |
---|
| 66 | %{_mandir}/man1/%{name}.1.gz |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %changelog |
---|
[5787] | 70 | * Wed Feb 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.0-3 |
---|
| 71 | - rebuilt with python-2.7.2 |
---|
| 72 | - add BuildRequires: python-numeric-devel |
---|
| 73 | |
---|
[868] | 74 | * Mon Apr 19 2010 Shu KONNO <owa@bg.wakwak.com> 2.1.0-2 |
---|
| 75 | - rebuilt with python-2.6 |
---|
| 76 | |
---|
[521] | 77 | * Fri Oct 10 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.1.0-1 |
---|
| 78 | - updated to 2.1.0 release |
---|
| 79 | - previous Vine package was pretty old (version 0.8.0) |
---|
| 80 | |
---|
| 81 | * Sun Feb 10 2008 Deji Akingunola <dakingun@gmail.com> - 2.1.0-6 |
---|
| 82 | - Rebuild for gcc43 |
---|
| 83 | |
---|
| 84 | * Wed Aug 22 2007 Deji Akingunola <dakingun@gmail.com> - 2.1.0-5 |
---|
| 85 | - Update License tag and rebuild |
---|
| 86 | |
---|
| 87 | * Mon Jan 01 2007 Deji Akingunola <dakingun@gmail.com> - 2.1.0-4 |
---|
| 88 | - Specify python-numeric path to avoid collisions with python-numarray |
---|
| 89 | |
---|
| 90 | * Sun Dec 31 2006 Deji Akingunola <dakingun@gmail.com> - 2.1.0-3 |
---|
| 91 | - Fix the BRs and remove the unnecessary post and postun sections |
---|
| 92 | |
---|
| 93 | * Sun Dec 31 2006 Deji Akingunola <dakingun@gmail.com> - 2.1.0-2 |
---|
| 94 | - Don't allow scigraphica to own $(libdir)/scigraphical, it is already |
---|
| 95 | owned by libscigraphica |
---|
| 96 | |
---|
| 97 | * Sat Dec 09 2006 Deji Akingunola <dakingun@gmail.com> - 2.1.0-1 |
---|
| 98 | - Initial build for Fedora Extras |
---|