source: projects/specs/trunk/lib/libs/libshairport/libshairport-vl.spec @ 10291

Revision 10291, 2.5 KB checked in by Takemikaduchi, 8 years ago (diff)

gnubiff,httping,lftp,libarchive,libgadu,libgit2,mosh: new upstream release
others: rebuild

Line 
1%global checkout 20121218git16395d8
2Name:           libshairport
3Version:        1.2.1
4Release:        3.%{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* Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.1-3.20121218git16395d8
75- rebuild with openssl-1.0.2
76
77* Thu Oct 17 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.2.1-2.20121218git16395d8
78- initial build for Vine Linux
79
80* Sun Dec 30 2012 Lorenzo Dalrio <lorenzo.dalrio@gmail.com> - 1.2.1-2.20121218git16395d8
81- Modified specfile to meet review requirements
82
83* Tue Dec 18 2012 Lorenzo Dalrio <lorenzo.dalrio@gmail.com> - 1.2.1-1.20121218git16395d8
84- Initial release
85
Note: See TracBrowser for help on using the repository browser.