libopendaap/libopendaap.spec

Name: libopendaap
Summary: Library for connection to iTunes music shares
Version: 0.4.0
Release: 2
License: GPL
Group: Applications/Internet
URL: http://crazney.net/programs/itunes/libopendaap.html
Description: Libopendaap is a library written in C which enables applications to discover, and connect to, iTunes music shares.

CentOS 7 x86_64

The build could not start because the following file is missing: libopendaap-0.4.0.tar.bz2

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: libopendaap-0.4.0.tar.bz2

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries

Summary: Library for connection to iTunes music shares
Name: libopendaap
Version: 0.4.0
Release: 2%{?dist}
License: GPL
Group: Applications/Internet
URL: http://crazney.net/programs/itunes/libopendaap.html

Source: http://crazney.net/programs/itunes/files/libopendaap-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: gcc-c++

%description
Libopendaap is a library written in C which enables applications to
discover, and connect to, iTunes music shares.

%package devel
Summary: Header files, libraries and development documentation for %{name}.
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}, pkgconfig

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup

%build
%configure \
    --disable-static
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%makeinstall

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_libdir}/libopendaap.so.*

%files devel
%defattr(-, root, root, 0755)
%{_includedir}/daap/
%exclude %{_libdir}/libopendaap.la
%{_libdir}/libopendaap.so
%{_libdir}/pkgconfig/opendaap.pc
%{_mandir}/man?/*

%changelog
* Fri Mar 17 2006 Matthias Saou <http://freshrpms.net/> 0.4.0-2
- Disable/remove static library, nothing seems to use it.

* Mon May 16 2005 Dag Wieers <dag@wieers.com> - 0.4.0-1
- Updated to release 0.4.0.

* Thu Jan 06 2005 Dries Verachtert <dries@ulyssis.org> - 0.3.0
- Initial package.