source: projects/specs/trunk/lib/libs/libscigraphica/libscigraphica-vl.spec @ 5787

Revision 5787, 3.6 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:        A library of gtk+ widgets for SciGraphica
4Summary(ja):    SciGraphica 用 gtk+-2.x ウィジェットライブラリ
5Name:           libscigraphica
6Version:        2.1.1
7Release:        4%{?_dist_release}
8License:        GPLv2+
9Group:          System Environment/Libraries
10Url:            http://scigraphica.sourceforge.net
11Source:         http://dl.sourceforge.net/scigraphica/%{name}-%{version}.tar.gz
12Patch0:         libscigraphica-configure-fix.patch
13BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14BuildRequires:  gtk+extra-devel >= 2.0, libxml2-devel
15BuildRequires:  libart_lgpl-devel
16BuildRequires:  python-devel python-numeric-devel
17BuildRequires:  gettext perl(XML::Parser)
18 
19%description
20A library of gtk+ widgets for SciGraphica. SciGraphica is a free (GPL)
21scientific application for data analysis and technical graphics
22
23
24%package devel
25Summary:        Development files for SciGraphica
26Group:          Development/Libraries
27Requires:       %{name} = %{version}-%{release}
28Requires:       pkgconfig automake
29Requires:       gtk+extra-devel
30                                                                               
31%description devel
32This package includes the library and header files for compiling programs
33that use libscigraphica
34
35                                                                               
36%prep
37%setup -q
38%patch0 -p0 -b .fix
39
40
41%build
42%configure --disable-static --with-python-numeric-path=%{python_siteinc}/Numeric
43make %{?_smp_mflags}
44
45
46%install
47rm -rf %{buildroot}
48make DESTDIR=%{buildroot} INSTALL="%{__install} -c -p" install
49
50find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
51
52
53%clean
54rm -rf %{buildroot}
55
56
57%post -p /sbin/ldconfig
58
59
60%postun -p /sbin/ldconfig
61
62
63%files
64%defattr(-,root,root,-)
65%doc AUTHORS COPYING ChangeLog TODO
66%{_libdir}/%{name}*.so.*
67%{_libdir}/scigraphica/
68%dir %{_datadir}/pixmaps/%{name}
69%{_datadir}/pixmaps/*.xpm
70%{_datadir}/pixmaps/%{name}/*.xpm
71
72
73%files devel
74%defattr(-,root,root,-)
75%{_includedir}/scigraphica-2.0/
76%{_libdir}/%{name}*.so
77%{_datadir}/aclocal/%{name}-2.0.m4
78%{_libdir}/pkgconfig/%{name}-2.0.pc
79%{_datadir}/pixmaps/%{name}/*.h
80
81
82%changelog
83* Wed Feb 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.1-4
84- rebuild with python-2.7.2
85
86* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.1-3
87- rebuild with rpm-4.8.1 for pkg-config file
88
89* Mon Apr 19 2010 Shu KONNO <owa@bg.wakwak.com> 2.1.1-2
90- rebuilt with python-2.6
91
92* Fri Oct 10 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.1.1-1
93- initial build for VineSeed
94
95* Sun Feb 10 2008 Deji Akingunola <dakingun@gmail.com> - 2.1.1-8
96- Rebuild for gcc43
97
98* Wed Aug 22 2007 Deji Akingunola <dakingun@gmail.com> - 2.1.1-7
99- Update License tag and rebuild
100
101* Mon Jan 02 2007 Deji Akingunola <dakingun@gmail.com> - 2.1.1-6
102- Make the package own $(datadir)/pixmaps/$(name)
103
104* Mon Jan 01 2007 Deji Akingunola <dakingun@gmail.com> - 2.1.1-5
105- Patch out build flags that were actually meant for CVS builds
106- Specify python-numeric path to avoid collisions with python-numarray
107
108* Mon Jan 01 2007 Deji Akingunola <dakingun@gmail.com> - 2.1.1-4
109- Make the -devel subpackage require gtk+extras
110- Move the .m4 file to the -devel subpackage
111
112* Fri Dec 29 2006 Deji Akingunola <dakingun@gmail.com> - 2.1.1-3
113- Fix sloppy editing in the release and require tags
114
115* Fri Dec 29 2006 Deji Akingunola <dakingun@gmail.com> - 2.1.1-2
116- Require pkgconfig for the devel sub-package
117- Properly requires the main package by the -devel subpackage
118
119* Sat Dec 09 2006 Deji Akingunola <dakingun@gmail.com> - 2.1.1-1
120- Initial build for Fedora Extras
Note: See TracBrowser for help on using the repository browser.