Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 1f242873f9dee6b72911501d7da62710 > files > 2

libscigraphica-2.1.1-7mdv2008.1.src.rpm

%define	name	libscigraphica
%define	version	2.1.1
%define	release	%mkrel 7

%define realname scigraphica

%define major 2.1
%define libname %mklibname %{realname} %major
%define libnamedev %mklibname %{realname} %major -d


Summary: Data analysis and technical graphics library
Name: %{name}
Version: %{version}
Release: %{release}
License: GPL
Group: System/Libraries
URL: http://scigraphica.sourceforge.net/
Source: http://prdownloads.sourceforge.net/scigraphica/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-buildroot

BuildRequires: perl-XML-Parser
BuildRequires: zlib-devel
BuildRequires: pkgconfig
BuildRequires: gtk+extra-2-devel
BuildRequires: python-numeric-devel

%description
SciGraphica is a scientific application for data analysis and technical
graphics. It pretends to be a clone of the popular commercial (and expensive)
application "Microcal Origin". It fully supplies plotting features for 2D, 3D
and polar charts. The aim is to obtain a fully-featured, cross-platform,
user-friendly, self-growing scientific application. It is free and
open-source, released under the GPL license.


%package -n %{libname}
Summary: Library for scigraphica 
Group: Development/Other
Provides: lib%{name} = %{version}

%description -n %{libname}
SciGraphica is a scientific application for data analysis and technical
graphics. It pretends to be a clone of the popular commercial (and expensive)
application "Microcal Origin". It fully supplies plotting features for 2D, 3D
and polar charts. The aim is to obtain a fully-featured, cross-platform,
user-friendly, self-growing scientific application. It is free and
open-source, released under the GPL license.

%package -n %{libnamedev}
Summary: Libscigraphica library headers and development libraries
Group: Development/Other
Requires: %{libname} = %{version}
Provides: lib%{name}-devel = %{version}
Provides: libscigraphica-devel
Provides: libscigraphica2-devel

%description -n %{libnamedev}
Libscigraphica devel files


%prep
rm -rf $RPM_BUILD_ROOT

%setup -q 

%build
  
%configure --with-python-numeric-path=/usr/include/python2.5/Numeric/

%make

%install

make DESTDIR=$RPM_BUILD_ROOT install

%find_lang %name

%post -n %{libname} -p /sbin/ldconfig

%postun -n %{libname} -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files -n %{libname} -f %name.lang
%defattr(-,root,root)
%{_libdir}/*.so.*
%dir %_datadir/pixmaps/%name
%_datadir/pixmaps/%name/*.xpm
%_datadir/pixmaps/*.xpm
%dir %{_libdir}/%{realname}
%{_libdir}/%{realname}/2.1.0/plugins/*/*.so
%{_libdir}/%{realname}/2.1.0/plugins/*/*.xml

%files -n %{libnamedev}
%defattr(-,root,root)
%{_libdir}/*.so
%{_libdir}/*.*a
%{_libdir}/pkgconfig/*
%{_includedir}/*
%{_datadir}/aclocal/*
%_datadir/pixmaps/%name/*.h
%{_libdir}/%{realname}/2.1.0/plugins/*/*.*a




%changelog
* Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 2.1.1-7mdv2008.1
+ Revision: 140928
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request


* Wed Dec 20 2006 Crispin Boylan <crisb@mandriva.org> 2.1.1-7mdv2007.0
+ Revision: 100450
- BuildRequires python-numeric-devel
- Rebuild with gtk 2
- Import libscigraphica

* Wed Jan 18 2006 Lenny Cartier <lenny@mandriva.com> 2.1.1-6mdk
- fix buildrequires for x86_64

* Tue Dec 20 2005 Nicolas Lécureuil <neoclust@mandriva.org> 2.1.1-5mdk
- Fix BuildRequires

* Wed Dec 14 2005 Nicolas Lécureuil <neoclust@mandriva.org> 2.1.1-4mdk
- Fix BuildRequires

* Tue Dec 13 2005 Nicolas Lécureuil <neoclust@mandriva.org> 2.1.1-3mdk
- Fix BuildRequires

* Sat Jul 30 2005 Nicolas Lécureuil <neoclust@mandriva.org> 2.1.1-2mdk
- Fix BuildRequires

* Wed Jul 27 2005 Lenny Cartier <lenny@mandriva.com> 2.1.1-1mdk
- 2.1.1
- fix changelog