Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release-src > by-pkgid > 063b4a9050ec537f7d7e00a255381275 > files > 6

libofa-0.9.3-19.mga5.src.rpm

%define         major           0
%define         libname         %mklibname ofa %{major}
%define         develname       %mklibname ofa -d
%define         staticdevelname %mklibname ofa -d -s

Summary:        Open Fingerprint Architecture library
Name:           libofa
Version:        0.9.3
Release:        %mkrel 19
License:        GPLv2
Group:          System/Libraries
URL:            http://code.google.com/p/musicip-libofa/
Source0:        http://musicip-libofa.googlecode.com/files/%{name}-%{version}.tar.gz
Patch0:         libofa-build-fix.patch
Patch1:         libofa-gcc47.diff
Patch2:         libofa-0.9.3-pkgconfig-drop-expat.patch
#fix missing curl/types.h (from OpenSuse)
Patch3:         libofa-curl-types.patch
BuildRequires:  fftw3-devel
BuildRequires:  libcurl-devel
BuildRequires:  libexpat-devel

%description
%{summary}



%package -n     %{libname}
Summary:        Open Fingerprint Architecture library
Group:          System/Libraries
Provides:       %{name} = %{version}-%{release}

%description -n %{libname}
A client library that looks up and identifies audio files based on
existing fingerprints, created and provided by MusicIP.



%package -n     %{develname}
Summary:        Files needed for developing applications which use litunepimp
Group:          Development/C
Provides:       %{name}-devel = %{version}-%{release}
Requires:       %{libname} = %{version}-%{release}
###Obsoletes:   #mklibname ofa 0 -d < 0.9.0

%description -n %{develname}
The %{name}-devel package includes the header files and .so libraries
necessary for developing libofa enabled tagging applications. If you
are going to develop libofa enabled tagging applications you should
install %{name}-devel. You'll also need to have the %{name} package
installed.



%package -n     %{staticdevelname}
Summary:        Static libraries for libtunepimp
Group:          Development/C
Provides:       %{name}-static-devel = %{version}-%{release}
Requires:       %{develname} = %{version}-%{release}
###Obsoletes:   #mklibname ofa 0 -d -s

%description -n %{staticdevelname}
The %{name}-devel package includes the static libraries necessary for
developing libofa enabled tagging applications using the %{name}
library. If you are going to develop libofa enabled tagging
applications, you should install %{name}-devel.  You'll also need to
have the %{name} package installed.



%prep
%setup -q
%patch0 -p0
%patch1 -p1
%patch2 -p1
%patch3 -p0


%build
%configure2_5x
%make


%install

%makeinstall_std
find %{buildroot}%{_libdir} -name *.la -delete


%files -n %{libname}
%doc AUTHORS README COPYING
%{_libdir}/*.so.%{major}*


%files -n %{develname}
%{_includedir}/*
%{_libdir}/pkgconfig/libofa.pc
%{_libdir}/*.a
%{_libdir}/*.so


%files -n %{staticdevelname}


%changelog
* Wed Oct 15 2014 umeabot <umeabot> 0.9.3-19.mga5
+ Revision: 751032
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 0.9.3-18.mga5
+ Revision: 681670
- Mageia 5 Mass Rebuild

* Fri Oct 18 2013 umeabot <umeabot> 0.9.3-17.mga4
+ Revision: 507229
- Mageia 4 Mass Rebuild

* Sat Jan 12 2013 umeabot <umeabot> 0.9.3-16.mga3
+ Revision: 357898
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Wed Dec 12 2012 gw666 <gw666> 0.9.3-15.mga3
+ Revision: 329885
- update the patch for stricter gcc

* Sat Dec 10 2011 eatdirt <eatdirt> 0.9.3-15.mga2
+ Revision: 180356
- Rebuilt for fftw-3.3
  New patch to fix compilation failure due to missing curl/types.h

* Wed Jan 19 2011 ahmad <ahmad> 0.9.3-14.mga1
+ Revision: 24981
- drop old/unneeded scriptlets
- imported package libofa


* Sun Nov 28 2010 Oden Eriksson <oeriksson@mandriva.com> 0.9.3-13mdv2011.0
+ Revision: 602587
- rebuild

* Mon Feb 08 2010 Funda Wang <fwang@mandriva.org> 0.9.3-12mdv2010.1
+ Revision: 502215
- apply fedora patch instead

* Mon Feb 08 2010 Funda Wang <fwang@mandriva.org> 0.9.3-11mdv2010.1
+ Revision: 502088
- expat is not need for libofa

* Sun Jan 17 2010 Funda Wang <fwang@mandriva.org> 0.9.3-10mdv2010.1
+ Revision: 492817
- rebuild
- rediff patch

* Wed Aug 12 2009 Christophe Fergeau <cfergeau@mandriva.com> 0.9.3-9mdv2010.0
+ Revision: 415583
- fix compilation with gcc 4.4

* Sat Jun 28 2008 Oden Eriksson <oeriksson@mandriva.com> 0.9.3-8mdv2009.0
+ Revision: 229894
- added a gcc43 patch
- new url

  + Thierry Vignaud <tv@mandriva.org>
    - rebuild

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

* Tue Mar 04 2008 Oden Eriksson <oeriksson@mandriva.com> 0.9.3-6mdv2008.1
+ Revision: 178983
- rebuild

  + Thierry Vignaud <tv@mandriva.org>
    - fix description-line-too-long
    - rebuild
    - kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Sat Jul 21 2007 Funda Wang <fwang@mandriva.org> 0.9.3-4mdv2008.0
+ Revision: 54121
- fix static devel package requires

* Sat Jul 14 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.9.3-3mdv2008.0
+ Revision: 52068
- new devel library policy
- spec file clean
- Import libofa



* Mon Jul 31 2006 Helio Castro <helio@mandriva.com> 0.5.0-2mdv2007.0
- Put right requires for fftw3-devel

* Sat Jul 22 2006 Emmanuel Andry <eandry@mandriva.org> 0.5.0-1mdv2007.0
- Initial Mandriva release