Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > c62c61ce44717c2cabe53cb2b04c3fd3 > files > 4

clthreads-2.4.0-7.mga5.src.rpm

%define	major	2
%define	libname	%mklibname %name %major
%define	oldlibname %mklibname %name 1
%define	develname %mklibname %name -d

Name:		clthreads
Summary:	C++ libraries
Version:	2.4.0
Release:	%mkrel 7
License:	LGPLv2+
Group:		System/Libraries 
Source0:	http://kokkinizita.linuxaudio.org/linuxaudio/downloads/%{name}-%{version}.tar.bz2
Patch1:		clthreads-2.4.0-linkage.patch
Patch2:		clthreads-makefile.patch
URL:		http://kokkinizita.linuxaudio.org/linuxaudio/aeolus/index.html

%description
Clthreads C++ libraries

#--------------------------------------------------------------------
%package -n %{libname}
Group:		System/Libraries
Summary:	Libraries for %{name}
Obsoletes:	%{oldlibname} < 2.4.0

%description -n	%{libname}
The libraries from %{name} package

%files -n %{libname}
%{_libdir}/libclthreads.so.%{major}*

#--------------------------------------------------------------------
%package -n %{develname}
Group:		Development/Other
Summary:	Libraries for %{name}
Requires:	%{libname} = %{version}-%{release}
Provides:	lib%{name}-devel = %{version}-%{release}
Provides:	%{name}-devel = %{version}-%{release}
Obsoletes:	%{oldlibname}-devel < 2.4.0
Obsoletes:	%{libname}-devel < 2.4.0

%description -n	%{develname}
Development libraries from %{name}

%files -n %{develname}
%{_includedir}/clthreads.h
%{_libdir}/libclthreads.so

#--------------------------------------------------------------------
%prep
%setup -q -n %{name}-%{version}
%patch1 -p0 -b .clthreads-2.4.0-linkage.patch
%patch2 -p1 -b .libdir

%build
%make LDFLAGS="%{ldflags}" CPPFLAGS="%{optflags} -fPIC" PREFIX=%{_prefix} LIBDIR=%{_lib}

%install
mkdir -p %{buildroot}%{_includedir}
make install DESTDIR=%{buildroot} PREFIX=%{_prefix} LIBDIR=%{_lib} 


%changelog
* Wed Oct 15 2014 umeabot <umeabot> 2.4.0-7.mga5
+ Revision: 745945
- Second Mageia 5 Mass Rebuild

* Thu Sep 18 2014 umeabot <umeabot> 2.4.0-6.mga5
+ Revision: 693625
- Rebuild to fix library dependencies

* Tue Sep 16 2014 umeabot <umeabot> 2.4.0-5.mga5
+ Revision: 678435
- Mageia 5 Mass Rebuild

* Sat Oct 19 2013 umeabot <umeabot> 2.4.0-4.mga4
+ Revision: 523200
- Mageia 4 Mass Rebuild

* Sat Mar 30 2013 rtp <rtp> 2.4.0-3.mga3
+ Revision: 406734
- Allow to override libdir to avoid broken sed rule on uname -m to find out
  lib64 vs lib
- Fix the makefile to allow to use DESTDIR.

* Fri Jan 11 2013 umeabot <umeabot> 2.4.0-2.mga3
+ Revision: 347914
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sun Nov 25 2012 barjac <barjac> 2.4.0-1.mga3
+ Revision: 321892
- spec clean
- Imported package from Mandriva


* Thu Dec 09 2010 Oden Eriksson <oeriksson@mandriva.com> 2.4.0-2mdv2011.0
+ Revision: 617048
- the mass rebuild of 2010.0 packages

* Mon Sep 07 2009 Funda Wang <fwang@mandriva.org> 2.4.0-1mdv2010.0
+ Revision: 432737
- New version 2.4.0

* Fri Jun 12 2009 Jérôme Brenier <incubusss@mandriva.org> 2.2.1-6mdv2010.0
+ Revision: 385598
- rebuild

* Mon Aug 25 2008 Emmanuel Andry <eandry@mandriva.org> 2.2.1-5mdv2009.0
+ Revision: 276014
- apply devel policy
- fix license

* Wed Jul 23 2008 Thierry Vignaud <tv@mandriva.org> 2.2.1-4mdv2009.0
+ Revision: 243531
- rebuild
- kill re-definition of %%buildroot on Pixel's request

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

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

  + Nicolas Lécureuil <nlecureuil@mandriva.com>
    - Fix major

* Sun Dec 09 2007 Nicolas Lécureuil <nlecureuil@mandriva.com> 2.2.1-1mdv2008.1
+ Revision: 116569
- import clthreads