source: projects/specs/branches/6/lib/libs/libshairport/libshairport-vl.spec @ 7902

Revision 7902, 2.4 KB checked in by shaolin, 11 years ago (diff)
  • self-build-xbmc: new upstream release
  • libshairport: new package
Line 
1%global checkout 20121218git16395d8
2Name:           libshairport
3Version:        1.2.1
4Release:        2.%{checkout}%{?_dist_release}
5Summary:        Emulates an AirPort Express
6Group:          System Environment/Libraries
7
8License:        MIT
9URL:            https://github.com/amejia1/libshairport
10Source0:        %{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
14Source1:        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)
16Patch0:         libshairport-remove-libssl-link.patch
17
18BuildRequires:  libao-devel
19BuildRequires:  openssl-devel
20BuildRequires:  autoconf automake libtool
21
22%description
23This program emulates an AirPort Express for the purpose of
24streaming music from iTunes and compatible iPods. It implements
25a server for the Apple RAOP protocol. ShairPort does not support
26AirPlay v2 (video and photo streaming). It supports multiple
27simultaneous streams, if your audio output chain
28(as detected by libao) does so.
29
30%package        devel
31Summary:        Development files for %{name}
32Group:          Development/Libraries
33Requires:       %{name}%{?_isa} = %{version}-%{release}
34Requires:       libao-devel%{?_isa}
35
36%description    devel
37The %{name}-devel package contains libraries and header files for
38developing applications that use %{name}.
39
40
41%prep
42%setup -q -n %{name}-%{version}.%{checkout}
43%patch0
44
45
46%build
47autoreconf -vif
48%configure --disable-static
49make %{?_smp_mflags}
50
51
52%install
53%make_install
54find $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
Note: See TracBrowser for help on using the repository browser.