/[packages]/cauldron/libshairport/current/SPECS/libshairport.spec
ViewVC logotype

Contents of /cauldron/libshairport/current/SPECS/libshairport.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 217437 - (show annotations) (download)
Sat Mar 3 19:08:19 2012 UTC (12 years, 1 month ago) by anssi
File size: 1764 byte(s)
initial Mageia package release
1 %define major 1
2 %define libname %mklibname shairport %major
3 %define devname %mklibname shairport -d
4
5 %define snap 20120111
6 %define rel 1
7
8 Summary: Apple RAOP server library
9 Name: libshairport
10 Version: 1.2.1
11 Release: %mkrel 0.git%snap.%rel
12 License: MIT
13 Group: System/Libraries
14 URL: https://github.com/amejia1/libshairport
15 # git archive --prefix libshairport-20120111/ master | xz > libshairport-20120111.tar.xz
16 Source: %name-%snap.tar.xz
17 BuildRequires: openssl-devel
18 BuildRequires: libao-devel
19
20 %description
21 This library emulates an AirPort Express for the purpose of streaming
22 music from iTunes and compatible iPods. It implements a server for the
23 Apple RAOP protocol.
24
25 ShairPort does not support AirPlay v2 (video and photo streaming).
26
27 %package -n %libname
28 Summary: Shared library of libshairport
29 Group: System/Libraries
30 Provides: %name = %version-%release
31
32 %description -n %libname
33 libshairport is an Apple RAOP server library.
34
35 This package contains the library needed to run programs dynamically
36 linked with libshairport.
37
38 %package -n %devname
39 Summary: Headers for libshairport development
40 Group: Development/C
41 Requires: %libname = %version
42 Provides: shairport-devel = %version-%release
43
44 %description -n %devname
45 libshairport is an Apple RAOP server library.
46
47 This package contains the headers that are needed to compile
48 applications that use libshairport.
49
50 %prep
51 %setup -q -n %name-%snap
52
53 %build
54 autoreconf -fi
55 %configure2_5x --disable-static
56 %make
57
58 %install
59 rm -rf %{buildroot}
60 %makeinstall_std
61
62 find %{buildroot} -name '*.la' | xargs rm
63
64 %clean
65 rm -rf %{buildroot}
66
67 %files -n %libname
68 %{_libdir}/*.so.%{major}*
69
70 %files -n %devname
71 %doc README
72 %{_libdir}/*.so
73 %dir %{_includedir}/shairport
74 %{_includedir}/shairport/*.h
75 %{_libdir}/pkgconfig/%{name}.pc

  ViewVC Help
Powered by ViewVC 1.1.30