File ipod-sharp.spec of Package ipod-sharp
#
# spec file for package ipod-sharp (Version 0.8.5)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: ipod-sharp
BuildRequires: glib-sharp2 gtk-sharp2 mono-devel ndesk-dbus-glib-devel podsleuth-devel
Url: http://www.snorp.net/log/?page_id=53
License: LGPLv2.1+
Group: Development/Libraries/GNOME
AutoReqProv: on
Version: 0.8.5
Release: 1
Summary: Library for Interacting with Apple(R) iPod(R) Devices
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: podsleuth mono-core gtk-sharp2 glib-sharp2
BuildArch: noarch
%description
ipod-sharp is a library that allows manipulation of the iTunesDB used
in Apple(R) iPod(R) devices. Currently it supports adding and
removing songs and manipulating existing play lists.
Authors:
--------
James Willcox <snorp@snorp.net>
%package devel
License: LGPLv2.1+
Summary: Library for Interacting with Apple(R) iPod(R) Devices
Group: Development/Libraries/Other
Requires: %{name} = %{version}
%description devel
ipod-sharp is a library that allows manipulation of the iTunesDB used
in Apple(R) iPod(R) devices. Currently it supports adding and
removing songs and manipulating existing play lists.
Authors:
--------
James Willcox <snorp@snorp.net>
%prep
%setup -q
%build
./configure \
--prefix=%{_prefix} \
--libdir=%{_prefix}/lib \
--disable-docs
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT%{_datadir}
mv $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig $RPM_BUILD_ROOT%{_datadir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS NEWS README COPYING
%{_prefix}/lib/ipod-sharp
%files devel
%defattr(-,root,root)
%{_prefix}/share/pkgconfig/ipod-sharp.pc
%{_prefix}/share/pkgconfig/ipod-sharp-ui.pc
%changelog