libshairport-vl.spec 2.5 KB

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