[521] | 1 | %{!?python_siteinc: %define python_siteinc %(%{__python} -c "from distutils.sysconfig import get_python_inc; print get_python_inc()")} |
---|
| 2 | |
---|
| 3 | Summary: A library of gtk+ widgets for SciGraphica |
---|
| 4 | Summary(ja): SciGraphica 用 gtk+-2.x ウィジェットライブラリ |
---|
| 5 | Name: libscigraphica |
---|
| 6 | Version: 2.1.1 |
---|
[5787] | 7 | Release: 4%{?_dist_release} |
---|
[521] | 8 | License: GPLv2+ |
---|
| 9 | Group: System Environment/Libraries |
---|
| 10 | Url: http://scigraphica.sourceforge.net |
---|
| 11 | Source: http://dl.sourceforge.net/scigraphica/%{name}-%{version}.tar.gz |
---|
| 12 | Patch0: libscigraphica-configure-fix.patch |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 14 | BuildRequires: gtk+extra-devel >= 2.0, libxml2-devel |
---|
| 15 | BuildRequires: libart_lgpl-devel |
---|
| 16 | BuildRequires: python-devel python-numeric-devel |
---|
| 17 | BuildRequires: gettext perl(XML::Parser) |
---|
| 18 | |
---|
| 19 | %description |
---|
| 20 | A library of gtk+ widgets for SciGraphica. SciGraphica is a free (GPL) |
---|
| 21 | scientific application for data analysis and technical graphics |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | %package devel |
---|
| 25 | Summary: Development files for SciGraphica |
---|
| 26 | Group: Development/Libraries |
---|
| 27 | Requires: %{name} = %{version}-%{release} |
---|
| 28 | Requires: pkgconfig automake |
---|
| 29 | Requires: gtk+extra-devel |
---|
| 30 | |
---|
| 31 | %description devel |
---|
| 32 | This package includes the library and header files for compiling programs |
---|
| 33 | that 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 |
---|
| 43 | make %{?_smp_mflags} |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %install |
---|
| 47 | rm -rf %{buildroot} |
---|
| 48 | make DESTDIR=%{buildroot} INSTALL="%{__install} -c -p" install |
---|
| 49 | |
---|
| 50 | find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %clean |
---|
| 54 | rm -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 |
---|
[5787] | 83 | * Wed Feb 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.1-4 |
---|
| 84 | - rebuild with python-2.7.2 |
---|
| 85 | |
---|
[1901] | 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 | |
---|
[868] | 89 | * Mon Apr 19 2010 Shu KONNO <owa@bg.wakwak.com> 2.1.1-2 |
---|
| 90 | - rebuilt with python-2.6 |
---|
| 91 | |
---|
[521] | 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 |
---|