File libmpd.spec.old of Package libmpd
# norootforbuild
%define realname libmpd
%define soname 1
Name: libmpd1
Version: 0.18.0
Release: 1
Summary: Library to control the Music Player Daemon
URL: http://sarine.nl/libmpd/
License: GPL
Group: Productivity/Multimedia/Sound/Players
Source0: http://download.sarine.nl/Programs/gmpc/%{version}/%{realname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{realname}-root
BuildRequires: glib2-devel pkgconfig
%description
Library to control the Music Player Daemon in applications.
%package -n libmpd-devel
Group: Productivity/Multimedia/Sound/Players
Summary: Development package for %{realname}
Requires: %{name} = %{version}
Requires: glib2-devel pkgconfig
%description -n %{realname}-devel
Development package for %{name}.
%package -n libmpd-doc
Group: Productivity/Multimedia/Sound/Players
Summary: Documentation package for %{realname}
Requires: %{name} = %{version}
%description -n %{realname}-doc
Documentation package for %{name}.
%prep
%setup -q -n %{realname}-%{version}
%build
%__sed -i -e "s|2.16|2.14|g" configure
%configure
%__make %{?jobs:-j%{jobs}}
%install
%makeinstall
%clean
%__rm -rf %{buildroot}
%files -n %{name}
%defattr(-,root,root)
%{_libdir}/%{realname}.so.*
%files -n %{realname}-devel
%defattr(-,root,root)
%{_libdir}/%{realname}.so
%{_includedir}/*
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/pkgconfig/*
%files -n %{realname}-doc
%defattr(-,root,root)
%doc README ChangeLog NEWS INSTALL COPYING AUTHORS
%changelog
* Tue Mar 10 2009 - Detlef Reichelt <detlef@links2linux.de> <0.18.0>-<0.pm.1>
- new upstream version <0.18.0>
* Sat Dec 27 2008 - Detlef Reichelt <detlef@links2linux.de> <0.17.0>-<0.pm.1>
- new upstream version <0.17.0>
* Concatenate artist/composer/performer tag.
* Support Query changes using idle command.
* Unix socket support.
* Fix false MPD_CST_STORED_PLAYLIST update.
* Fix build on opensolaris.
* Convert error messages to utf-8 before passing to gmpc.
* Fix memory leak in idle check.
* Several typo's fixed (thx to Priyank)
* (Open) Solaris build fix.
* Fix document distribution (thx to Priyank).
* Support for playlist modification time.
* Get more changed signals using idle command.
* Convert debug output to locale before outputting.
* Fri Sep 26 2008 - Detlef Reichelt <detlef@links2linux.de> <0.16.1>-<0.pm.1>
- new upstream version <0.16.1>
* Allow the error_callback to make an error critical (causing libmpd to disconnect)
* Mon Sep 22 2008 - Detlef Reichelt <detlef@links2linux.de> <0.16.0>-<0.pm.1>
- new upstream version <0.16.0>
* Mon Dec 17 2007 - Detlef Reichelt <detlef@links2linux.de> <0.15.0>-<0.pm.1>
- new upstream version <0.15.0>
* Thu Jul 26 2007 - Detlef Reichelt <detlef@links2linux.de> <0.14.0>-<0.pm.1>
- new upstream release <0.14.0>
- rename libmpd -> libmpd0
* Wed Mar 28 2007 - Detlef Reichelt <detlef@links2linux.de>
- new upstream release <0.13.0>
- fix URL
* Mon Jul 24 2006 - Bernhard Walle <bernhard@links2linux.de>
- new upstream release
* Wed Feb 22 2006 - Bernhard Walle <bernhard@links2linux.de>
- first package