Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > 3f00e3f9c000fd41925be7989bfcd895 > files > 2

openbabel-2.2.3-7.mga1.src.rpm

%define major 3
%define libname %mklibname %{name} %{major}
%define develname %mklibname %{name} -d
%define staticname %mklibname %{name} -d -s

Name: openbabel
Version: 2.2.3
Release: %mkrel 7
Summary: Chemistry software file format converter
License: GPLv2+
Group: Sciences/Chemistry
URL: http://openbabel.sourceforge.net/
Source: %{name}-%{version}.tar.gz
BuildRequires: doxygen 
BuildRequires: wxGTK-devel
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: python-devel
BuildRequires: ruby-devel
BuildRequires: swig

Requires: %{libname} = %{version}

%description
Open Babel is a project designed to pick up where Babel left off, 
as a cross-platform program and library designed to interconvert 
between many file formats used in molecular modeling and computational
chemistry.

%package	-n %{libname}
Summary:        Shared libraries of %{name}
Group:          System/Libraries
Conflicts:      %{develname} <  2.2.0-4

%description	-n %{libname}
Open Babel is a project designed to pick up where Babel left off, 
as a cross-platform program and library designed to interconvert 
between many file formats used in molecular modeling and computational
chemistry.

This package contains shared libraries of %{name}.

%package	-n %{develname}
Summary:        Development files of %{name}
Group:          Development/C++
Requires:	%{libname} = %{version}
Provides:	%{name}-devel = %{version}-%{release}
Obsoletes: %mklibname %{name} 2 -d 
Obsoletes: %mklibname %{name} 3 -d 

%description	-n %{develname}
Open Babel is a project designed to pick up where Babel left off, 
as a cross-platform program and library designed to interconvert 
between many file formats used in molecular modeling and computational
chemistry.

This package includes the header files and other development
related files necessary for developing or compiling programs
using the %{name} library.

%package	-n %{staticname}
Summary:        Static library of %{name}
Group:          System/Libraries
Requires:	%{develname} = %{version}
Provides:	%{name}-static-devel = %{version}-%{release}
Obsoletes:	%{_lib}%{name}33-static-devel

%description	-n %{staticname}
Open Babel is a project designed to pick up where Babel left off, 
as a cross-platform program and library designed to interconvert 
between many file formats used in molecular modeling and computational
chemistry.

This package contains static library of %{name}.

%prep
%setup -q

%build
%configure2_5x  --enable-shared=yes --enable-static=no --disable-inchi --enable-maintainer-mode

%make

%install
rm -rf %{buildroot}
%makeinstall_std

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog README THANKS
%doc doc/*.html doc/diox* doc/README*
%{_bindir}/*
%{_mandir}/man?/*
%{_datadir}/%{name}
%{_libdir}/%{name}/%{version}/*.so
#%{_libdir}/%{name}/%{version}/*.la

%files -n %{libname}
%defattr(-, root, root)
%{_libdir}/lib*.so.%{major}*

%files -n %{develname}
%defattr(-, root, root)
%{_includedir}/%name-2.0
%{_libdir}/pkgconfig/*.pc
%{_libdir}/lib*.so
%{_includedir}/inchi102/inchi_api.h
#%{_libdir}/lib*.la

%files -n %{staticname}
%{_libdir}/lib*.la
%{_libdir}/%{name}/%{version}/*.la





%changelog
* Thu Mar 24 2011 boklm <boklm> 2.2.3-7.mga1
+ Revision: 76196
- rebuild for bug #497

* Wed Mar 16 2011 mikala <mikala> 2.2.3-6.mga1
+ Revision: 72651
- Remove wrong provides openbabel in the lib package (thks to blino)
- Remove BuildRoot

* Sun Jan 23 2011 ahmad <ahmad> 2.2.3-5.mga1
+ Revision: 35384
- drop old/unneeded scriptlets
- imported package openbabel


* Fri Dec 03 2010 Oden Eriksson <oeriksson@mandriva.com> 2.2.3-4mdv2011.0
+ Revision: 607013
- rebuild

* Wed Mar 17 2010 Oden Eriksson <oeriksson@mandriva.com> 2.2.3-3mdv2010.1
+ Revision: 523516
- rebuilt for 2010.1

* Wed Aug 05 2009 Funda Wang <fwang@mandriva.org> 2.2.3-2mdv2010.0
+ Revision: 409924
- add virtual provides

* Tue Aug 04 2009 Frederik Himpe <fhimpe@mandriva.org> 2.2.3-1mdv2010.0
+ Revision: 409361
- Fix file list
- Don't use unrecognized --enable-doxygen configure option
- Unbreak the static-devel package name
- Update to new version 2.3.3

* Sun Jul 12 2009 Frederik Himpe <fhimpe@mandriva.org> 2.2.2-1mdv2010.0
+ Revision: 395300
- Update to new version 2.2.2

* Wed Apr 01 2009 Antoine Ginies <aginies@mandriva.com> 2.2.1-2mdv2009.1
+ Revision: 363406
- add missing file (remove by error)
- restore the static-devel package

* Mon Mar 02 2009 Emmanuel Andry <eandry@mandriva.org> 2.2.1-1mdv2009.1
+ Revision: 347008
- New version 2.2.1
- drop redundant BR

* Fri Aug 29 2008 Helio Chissini de Castro <helio@mandriva.com> 2.2.0-5mdv2009.0
+ Revision: 277286
- There's still devel packages with soname installed in some boxes

* Wed Aug 27 2008 Nicolas Lécureuil <nlecureuil@mandriva.com> 2.2.0-4mdv2009.0
+ Revision: 276620
- Fix file list
  Fix configure
- Enhance configure
  fix file list  ( Bug #42549 )

* Wed Aug 27 2008 Nicolas Lécureuil <nlecureuil@mandriva.com> 2.2.0-3mdv2009.0
+ Revision: 276462
- Add libxml2-devel As buildrequire

* Sun Aug 10 2008 Emmanuel Andry <eandry@mandriva.org> 2.2.0-2mdv2009.0
+ Revision: 270542
- New version
- fix license
- apply devel policy
- fix major
- major check
- static-devel is not built anymore

* Thu Aug 07 2008 Thierry Vignaud <tv@mandriva.org> 2.2.0-2.b5.1mdv2009.0
+ Revision: 265231
- rebuild early 2009.0 package (before pixel changes)

  + Pixel <pixel@mandriva.com>
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

* Thu Jun 05 2008 Helio Chissini de Castro <helio@mandriva.com> 2.2.0-0.b5.1mdv2009.0
+ Revision: 216196
- New upstream beta version required for current kdeedu4

* Fri Apr 18 2008 Nicolas Lécureuil <nlecureuil@mandriva.com> 2.2.0-0.b4.1mdv2009.0
+ Revision: 195522
- Update tp 2.2.0 Beta4 (needed by kdeedu4)

* Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 2.1.1-1mdv2008.1
+ Revision: 136634
- restore BuildRoot

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

* Mon Jul 09 2007 Austin Acton <austin@mandriva.org> 2.1.1-1mdv2008.0
+ Revision: 50762
- new version

* Wed May 09 2007 Austin Acton <austin@mandriva.org> 2.1.0-2mdv2008.0
+ Revision: 25785
- fix major

* Tue Apr 17 2007 Laurent Montel <lmontel@mandriva.org> 2.1.0-1mdv2007.1
+ Revision: 13613
- 2.1.0 (need by kalzium4)


* Sun Feb 25 2007 Emmanuel Andry <eandry@mandriva.org> 2.0.2-1mdv2007.0
+ Revision: 125461
- New version 2.0.2

  + Jérôme Soyer <saispo@mandriva.org>
    - Import openbabel

* Wed Jun 21 2006 Lenny Cartier <lenny@mandriva.com> 2.0.1-2mdv2007.0
- rebuild

* Wed Apr 19 2006 Lenny Cartier <lenny@mandriva.com> 2.0.1-1mdk
- 2.0.1
- remove patch merged upstream

* Tue Jan 17 2006 Lenny Cartier <lenny@mandriva.com> 2.0.0-1mdk
- 2.0.0
- used patch from website to fix gcc4 compilation

* Fri Jul 08 2005 Lenny Cartier <lenny@mandriva.com> 1.100.2-3mdk
- rebuild

* Sat Jun 05 2004 Abel Cheung <deaddog@deaddog.org> 1.100.2-2mdk
- Drop patch0 (not needed)
- Rebuild with new gcc

* Tue May 04 2004 Austin Acton <austin@mandrake.org> 1.100.2-1mdk
- 1.100.2