[7902] | 1 | %global checkout 20121218git16395d8 |
---|
| 2 | Name: libshairport |
---|
| 3 | Version: 1.2.1 |
---|
| 4 | Release: 2.%{checkout}%{?_dist_release} |
---|
| 5 | Summary: Emulates an AirPort Express |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | |
---|
| 8 | License: MIT |
---|
| 9 | URL: https://github.com/amejia1/libshairport |
---|
| 10 | Source0: %{name}-%{version}.%{checkout}.tar.gz |
---|
| 11 | # The source for this package was pulled from upstream's vcs. Invoke the |
---|
| 12 | # following script while in your SOURCES directory to generate the tarball: |
---|
| 13 | # sh libshairport-generate-tarball-gz.sh |
---|
| 14 | Source1: libshairport-generate-tarball-gz.sh |
---|
| 15 | # This patch remove unnecessary libssl link, it has been proposed to upstream (https://github.com/amejia1/libshairport/pull/3) |
---|
| 16 | Patch0: libshairport-remove-libssl-link.patch |
---|
| 17 | |
---|
| 18 | BuildRequires: libao-devel |
---|
| 19 | BuildRequires: openssl-devel |
---|
| 20 | BuildRequires: autoconf automake libtool |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | This program emulates an AirPort Express for the purpose of |
---|
| 24 | streaming music from iTunes and compatible iPods. It implements |
---|
| 25 | a server for the Apple RAOP protocol. ShairPort does not support |
---|
| 26 | AirPlay v2 (video and photo streaming). It supports multiple |
---|
| 27 | simultaneous streams, if your audio output chain |
---|
| 28 | (as detected by libao) does so. |
---|
| 29 | |
---|
| 30 | %package devel |
---|
| 31 | Summary: Development files for %{name} |
---|
| 32 | Group: Development/Libraries |
---|
| 33 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
| 34 | Requires: libao-devel%{?_isa} |
---|
| 35 | |
---|
| 36 | %description devel |
---|
| 37 | The %{name}-devel package contains libraries and header files for |
---|
| 38 | developing applications that use %{name}. |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | %prep |
---|
| 42 | %setup -q -n %{name}-%{version}.%{checkout} |
---|
| 43 | %patch0 |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %build |
---|
| 47 | autoreconf -vif |
---|
| 48 | %configure --disable-static |
---|
| 49 | make %{?_smp_mflags} |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %install |
---|
| 53 | %make_install |
---|
| 54 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
| 55 | |
---|
| 56 | %post -p /sbin/ldconfig |
---|
| 57 | |
---|
| 58 | %postun -p /sbin/ldconfig |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | %files |
---|
| 62 | %defattr(-,root,root,-) |
---|
| 63 | %doc AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README |
---|
| 64 | %{_libdir}/*.so.* |
---|
| 65 | |
---|
| 66 | %files devel |
---|
| 67 | %defattr(-,root,root,-) |
---|
| 68 | %{_includedir}/* |
---|
| 69 | %{_libdir}/*.so |
---|
| 70 | %{_libdir}/pkgconfig/libshairport.pc |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | %changelog |
---|
| 74 | * Thu Oct 17 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.2.1-1.20121218git16395d8 |
---|
| 75 | - initial build for Vine Linux |
---|
| 76 | |
---|
| 77 | * Sun Dec 30 2012 Lorenzo Dalrio <lorenzo.dalrio@gmail.com> - 1.2.1-2.20121218git16395d8 |
---|
| 78 | - Modified specfile to meet review requirements |
---|
| 79 | |
---|
| 80 | * Tue Dec 18 2012 Lorenzo Dalrio <lorenzo.dalrio@gmail.com> - 1.2.1-1.20121218git16395d8 |
---|
| 81 | - Initial release |
---|
| 82 | |
---|