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 |
---|
7 | Release: 3%{?_dist_release} |
---|
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 |
---|
15 | BuildRequires: python-devel python-numeric |
---|
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 |
---|
70 | * Sun Feb 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.0-3 |
---|
71 | - rebuild witn Vine6 environment |
---|
72 | |
---|
73 | * Mon Apr 19 2010 Shu KONNO <owa@bg.wakwak.com> 2.1.0-2 |
---|
74 | - rebuilt with python-2.6 |
---|
75 | |
---|
76 | * Fri Oct 10 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.1.0-1 |
---|
77 | - updated to 2.1.0 release |
---|
78 | - previous Vine package was pretty old (version 0.8.0) |
---|
79 | |
---|
80 | * Sun Feb 10 2008 Deji Akingunola <dakingun@gmail.com> - 2.1.0-6 |
---|
81 | - Rebuild for gcc43 |
---|
82 | |
---|
83 | * Wed Aug 22 2007 Deji Akingunola <dakingun@gmail.com> - 2.1.0-5 |
---|
84 | - Update License tag and rebuild |
---|
85 | |
---|
86 | * Mon Jan 01 2007 Deji Akingunola <dakingun@gmail.com> - 2.1.0-4 |
---|
87 | - Specify python-numeric path to avoid collisions with python-numarray |
---|
88 | |
---|
89 | * Sun Dec 31 2006 Deji Akingunola <dakingun@gmail.com> - 2.1.0-3 |
---|
90 | - Fix the BRs and remove the unnecessary post and postun sections |
---|
91 | |
---|
92 | * Sun Dec 31 2006 Deji Akingunola <dakingun@gmail.com> - 2.1.0-2 |
---|
93 | - Don't allow scigraphica to own $(libdir)/scigraphical, it is already |
---|
94 | owned by libscigraphica |
---|
95 | |
---|
96 | * Sat Dec 09 2006 Deji Akingunola <dakingun@gmail.com> - 2.1.0-1 |
---|
97 | - Initial build for Fedora Extras |
---|