File njb-sharp.spec of Package njb-sharp
#
# spec file for package njb-sharp (Version 0.3.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: njb-sharp
BuildRequires: glade-sharp2 libnjb-devel libnjb5 mono-basic mono-data-sqlite mono-devel mono-tools
Url: http://banshee-project.org
License: LGPL v2.1 or later
Group: Development/Libraries/Other
AutoReqProv: on
Version: 0.3.0
Release: 183
Summary: Mono/C# Bindings to libnjb
Source: %{name}-%{version}.tar.bz2
Patch: %{name}-makefile.patch
Patch1: %{name}-config.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Mono/C# Bindings to libnjb
Authors:
--------
Aaron Bockover <aaron@aaronbock.net>
%prep
%setup -q
%patch
%patch1
%build
autoreconf -fi
export CFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=%{_prefix} \
--libdir=%{_libdir} \
--mandir=%{_mandir}
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/njb-sharp/libnjbglue.*a
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS NEWS README COPYING
%dir %{_prefix}/lib/njb-sharp
%{_prefix}/lib/njb-sharp/njb-sharp.dll*
%{_prefix}/lib/monodoc/sources/njb-sharp-docs.source
%{_prefix}/lib/monodoc/sources/njb-sharp-docs.tree
%{_prefix}/lib/monodoc/sources/njb-sharp-docs.zip
%dir %{_libdir}/njb-sharp
%{_libdir}/njb-sharp/libnjbglue.so
%{_libdir}/pkgconfig/njb-sharp.pc
%changelog
* Sun Jan 20 2008 ro@suse.de
- add libjnb5 to buildreq (for mono-find-requires)
- patch config file to use the SONAMEs of the required libraries
* Fri Jun 22 2007 maw@suse.de
- Use a bzip2ed tarball
- Use the automatic Requires generation
- Add glade-sharp2 to buildrequires.
* Tue Oct 24 2006 ro@suse.de
- added mono-devel to buildrequires
* Thu Jul 06 2006 schwab@suse.de
- Fix invalid redefinition of docdir.
* Tue Apr 25 2006 jpr@suse.de
- Fix build on 64 bit
* Sun Apr 23 2006 jpr@suse.de
- Update to 0.3.0
- Changes are:
* Remove patch for fix upstreamed
* Update developer docs
* Fix meta data handling for songs
* Fix send track support
* Enable delete song support
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Dec 23 2005 gekker@suse.de
- Import version 0.2.1