libscigraphica-vl.spec 3.6 KB

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