Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-release-src > by-pkgid > dfa6e0fa2927ec636d1e1afae0b61c4f > files > 2

shairplay-0.9.0-0.git20160101.1.mga6.src.rpm

%define major	0
%define libname	%mklibname shairplay %major
%define devname	%mklibname shairplay -d

%define snap	20160101
%define rel	1

Summary:	Apple AirPlay server implementation
Name:		shairplay
Version:	0.9.0
Release:	%mkrel 0.git%snap.%rel
# library: LGPLv2+
# application: MIT
License:	MIT
Group:		Networking/Other
URL:		https://github.com/juhovh/shairplay
# git archive --prefix shairplay-20120111/ master | xz > shairplay-20120111.tar.xz
Source:		%name-%snap.tar.xz
BuildRequires:	libao-devel
BuildRequires:	avahi-compat-libdns_sd-devel
Requires:	%{libname} = %{version}-%{release}

%description
Server for the Apple RAOP protocol, emulating an AirPort Express for the
purpose of streaming music from iTunes and compatible iPods.

%package -n %libname
Summary:	Shared library of shairplay
Group:		System/Libraries

%description -n %libname
Shairplay is an Apple RAOP protocol server, emulating an AirPort Express
for the purpose of streaming music from iTunes and compatible iPods.

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

%package -n %devname
Summary:	Headers for libshairplay development
Group:		Development/C
Requires:	%libname = %version
Provides:	shairplay-devel = %version-%release

%description -n %devname
Shairplay is an Apple RAOP protocol server.

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

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

%build
autoreconf -fi
%configure2_5x --disable-static
%make

%install
%makeinstall_std

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

%files
%doc README.md LICENSE
%{_bindir}/%{name}

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

%files -n %devname
%{_libdir}/*.so
%dir %{_includedir}/shairplay
%{_includedir}/shairplay/*.h


%changelog
* Thu Jun 01 2017 eatdirt <eatdirt> 0.9.0-0.git20160101.1.mga6
+ Revision: 1105723
- Update to latest git commit 20160101

* Mon Feb 08 2016 umeabot <umeabot> 0.9.0-0.git20140423.2.mga6
+ Revision: 950847
- Mageia 6 Mass Rebuild

* Mon Nov 24 2014 anssi <anssi> 0.9.0-0.git20140423.1.mga5
+ Revision: 798682
- initial Mageia package release