Sophie

Sophie

distrib > Mageia > 9 > x86_64 > by-pkgid > 7ae5fb8f3ffec2cf56411abb260166ea > files > 2

libshairport-1.2.1-0.git20120111.12.mga9.src.rpm

%define major	1
%define libname	%mklibname shairport %major
%define devname	%mklibname shairport -d

%define snap	20120111
%define rel	12

Summary:	Apple RAOP server library
Name:		libshairport
Version:	1.2.1
Release:	%mkrel 0.git%snap.%rel
License:	MIT
Group:		System/Libraries
URL:		https://github.com/amejia1/libshairport
# git archive --prefix libshairport-20120111/ master | xz > libshairport-20120111.tar.xz
Source:		%name-%snap.tar.xz
BuildRequires:	pkgconfig(openssl)
BuildRequires:	pkgconfig(ao)

%description
This library emulates an AirPort Express for the purpose of streaming
music from iTunes and compatible iPods. It implements a server for the
Apple RAOP protocol.

ShairPort does not support AirPlay v2 (video and photo streaming).

%package -n %libname
Summary:	Shared library of libshairport
Group:		System/Libraries
Provides:	%name = %version-%release

%description -n %libname
libshairport is an Apple RAOP server library.

This package contains the library needed to run programs dynamically
linked with libshairport.

%package -n %devname
Summary:	Headers for libshairport development
Group:		Development/C
Requires:	%libname = %version
# we are not actually linking against it (just using the headers), so this
# doesn't get added automatically:
Requires:	libao-devel
Provides:	shairport-devel = %version-%release

%description -n %devname
libshairport is an Apple RAOP server library.

This package contains the headers that are needed to compile
applications that use libshairport.

%prep
%setup -q -n %name-%snap

%build
autoreconf -fi
%configure --disable-static
%make_build

%install
%make_install

find %{buildroot} -name '*.la' | xargs rm

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

%files -n %devname
%doc README
%{_libdir}/*.so
%dir %{_includedir}/shairport
%{_includedir}/shairport/*.h
%{_libdir}/pkgconfig/%{name}.pc


%changelog
* Wed Mar 23 2022 umeabot <umeabot> 1.2.1-0.git20120111.12.mga9
+ Revision: 1820742
- Mageia 9 Mass Rebuild

* Sat Oct 02 2021 wally <wally> 1.2.1-0.git20120111.11.mga9
+ Revision: 1747465
- rebuild for openssl 3.0.0

* Thu Feb 13 2020 umeabot <umeabot> 1.2.1-0.git20120111.10.mga8
+ Revision: 1514438
- Mageia 8 Mass Rebuild
+ wally <wally>
- replace deprecated %%configure2_5x
- replace deprecated %%makeinstall_std

* Sun Sep 23 2018 umeabot <umeabot> 1.2.1-0.git20120111.9.mga7
+ Revision: 1299142
- Mageia 7 Mass Rebuild

* Sat Sep 09 2017 cjw <cjw> 1.2.1-0.git20120111.8.mga7
+ Revision: 1152023
- rebuild for openssl 1.1

* Thu Feb 04 2016 umeabot <umeabot> 1.2.1-0.git20120111.7.mga6
+ Revision: 936255
- Mageia 6 Mass Rebuild

* Wed Oct 15 2014 umeabot <umeabot> 1.2.1-0.git20120111.6.mga5
+ Revision: 739712
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 1.2.1-0.git20120111.5.mga5
+ Revision: 681779
- Mageia 5 Mass Rebuild

* Fri Oct 18 2013 umeabot <umeabot> 1.2.1-0.git20120111.4.mga4
+ Revision: 507355
- Mageia 4 Mass Rebuild

* Sat Jan 12 2013 umeabot <umeabot> 1.2.1-0.git20120111.3.mga3
+ Revision: 358142
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat Mar 03 2012 anssi <anssi> 1.2.1-0.git20120111.2.mga2
+ Revision: 217478
- add require on libao-devel into the devel package as the headers
  require it even though the library is not linked against it

* Sat Mar 03 2012 anssi <anssi> 1.2.1-0.git20120111.1.mga2
+ Revision: 217437
- initial Mageia package release