Author: lorenzodalrio
Update of /cvs/free/rpms/libshairport/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv29122/devel
Modified Files:
.cvsignore sources
Added Files:
libshairport-generate-tarball-gz.sh
libshairport-remove-libssl-link.patch libshairport.spec
Log Message:
Initial commit
--- NEW FILE libshairport-generate-tarball-gz.sh ---
#!/bin/sh
LIBSHAIRPORT_GIT_URL="git://github.com/amejia1/libshairport.git"
LIBSHAIRPORT_GIT_COMMIT="16395d85ea2801cec612b935ba2972bd1a42a6a5"
DATE_RETRIEVED="20121218"
COMMIT_SHORT_FORM="$(echo $LIBSHAIRPORT_GIT_COMMIT | \
sed -e 's/^\([[:xdigit:]]\{,7\}\).*/\1/')"
LIBSHAIRPORT_VERSION="1.2.1.${DATE_RETRIEVED}git${COMMIT_SHORT_FORM}"
rm -rf "libshairport-${LIBSHAIRPORT_VERSION}"
git clone "$LIBSHAIRPORT_GIT_URL"
"libshairport-${LIBSHAIRPORT_VERSION}"
cd "libshairport-${LIBSHAIRPORT_VERSION}"
git checkout "$LIBSHAIRPORT_GIT_COMMIT"
cd ..
# repack
tar --exclude-vcs -czvf libshairport-$LIBSHAIRPORT_VERSION.tar.gz
libshairport-$LIBSHAIRPORT_VERSION
libshairport-remove-libssl-link.patch:
configure.in | 1 -
1 file changed, 1 deletion(-)
--- NEW FILE libshairport-remove-libssl-link.patch ---
--- configure.in.orig 2012-12-30 12:00:10.448121876 +0100
+++ configure.in 2012-12-30 12:01:28.610806581 +0100
@@ -18,7 +18,6 @@
# Checks for libraries.
AC_CHECK_LIB([m], [main])
-AC_CHECK_LIB([ssl], [main],, AC_MSG_ERROR($missing_library))
AC_CHECK_LIB([crypto], [main],, AC_MSG_ERROR($missing_library))
AC_CHECK_LIB([pthread], [main],, AC_MSG_ERROR($missing_library))
--- NEW FILE libshairport.spec ---
%global checkout 20121218git16395d8
Name: libshairport
Version: 1.2.1
Release: 2.%{checkout}%{?dist}
Summary: Emulates an AirPort Express
Group: System Environment/Libraries
License: MIT
URL:
https://github.com/amejia1/libshairport
Source0: %{name}-%{version}.%{checkout}.tar.gz
# The source for this package was pulled from upstream's vcs. Invoke the
# following script while in your SOURCES directory to generate the tarball:
# sh libshairport-generate-tarball-gz.sh
Source1: libshairport-generate-tarball-gz.sh
# This patch remove unnecessary libssl link, it has been proposed to upstream
(
https://github.com/amejia1/libshairport/pull/3)
Patch0: libshairport-remove-libssl-link.patch
BuildRequires: libao-devel
BuildRequires: openssl-devel
BuildRequires: autoconf automake libtool
%description
This program emulates an AirPort Express for the purpose of
streaming music from iTunes and compatible iPods. It implements
a server for the Apple RAOP protocol. ShairPort does not support
AirPlay v2 (video and photo streaming). It supports multiple
simultaneous streams, if your audio output chain
(as detected by libao) does so.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: libao-devel%{?_isa}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q -n %{name}-%{version}.%{checkout}
%patch0
%build
autoreconf -vif
%configure --disable-static
make %{?_smp_mflags}
%install
%make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc LICENSE README
%{_libdir}/*.so.*
%files devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/libshairport.pc
%changelog
* Sun Dec 30 2012 Lorenzo Dalrio <lorenzo.dalrio(a)gmail.com> -
1.2.1-2.20121218git16395d8
- Modified specfile to meet review requirements
* Tue Dec 18 2012 Lorenzo Dalrio <lorenzo.dalrio(a)gmail.com> -
1.2.1-1.20121218git16395d8
- Initial release
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/libshairport/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 Jan 2013 22:18:35 -0000 1.1
+++ .cvsignore 1 Jan 2013 22:29:15 -0000 1.2
@@ -0,0 +1 @@
+libshairport-1.2.1.20121218git16395d8.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/libshairport/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Jan 2013 22:18:35 -0000 1.1
+++ sources 1 Jan 2013 22:29:15 -0000 1.2
@@ -0,0 +1 @@
+93659129345a92ffec857704e78e34d4 libshairport-1.2.1.20121218git16395d8.tar.gz