source: projects/specs/trunk/s/scigraphica/scigraphica-vl.spec @ 5787

Revision 5787, 3.1 KB checked in by Takemikaduchi, 12 years ago (diff)

rebuild with python-2.7.2

Line 
1%{!?python_siteinc: %define python_siteinc %(%{__python} -c "from distutils.sysconfig import get_python_inc; print get_python_inc()")}
2
3Summary:        Scientific application for data analysis and technical graphics
4Summary(ja):    科学データ分析・視覚化に優れたアプリケーション
5Name:           scigraphica
6Version:        2.1.0
7Release:        3%{?_dist_release}
8License:        GPLv2+
9Group:          Applications/Productivity
10Url:            http://scigraphica.sourceforge.net
11Source:         http://dl.sourceforge.net/scigraphica/%{name}-%{version}.tar.gz
12Patch0:         scigraphica-desktop.patch
13BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14BuildRequires:  libxml2-devel imlib-devel
15BuildRequires:  python-devel python-numeric-devel
16BuildRequires:  libscigraphica-devel
17BuildRequires:  gettext perl(XML::Parser)
18BuildRequires:  desktop-file-utils
19Requires:       python-numarray
20
21%description
22SciGraphica is a free (GPL) scientific application for data analysis and
23technical graphics. It pretends to be a clone of the popular commercial
24(and expensive) application "Microcal Origin". It fully supplies plotting
25features 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
35make %{?_smp_mflags}
36
37
38%install
39rm -rf %{buildroot}
40make DESTDIR=%{buildroot} INSTALL="%{__install} -c -p" install
41
42find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
43
44#Removing this pixmaps here as it is also packaged in libscigraphica
45rm -rf %{buildroot}%{_datadir}/pixmaps/sg_icon.xpm
46
47desktop-file-install --delete-original                  \
48        --vendor fedora                                 \
49        --dir=%{buildroot}%{_datadir}/applications      \
50        %{buildroot}%{_datadir}/gnome/apps/Applications/sg.desktop
51       
52
53%clean
54rm -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* 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
74* Mon Apr 19 2010 Shu KONNO <owa@bg.wakwak.com> 2.1.0-2
75- rebuilt with python-2.6
76
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
Note: See TracBrowser for help on using the repository browser.