]>
Commit | Line | Data |
---|---|---|
625c15de PZ |
1 | # |
2 | %include /usr/lib/rpm/macros.mono | |
3 | # | |
4 | Summary: .NET support for NJB players | |
5 | Name: dotnet-njb-sharp | |
6 | Version: 0.3.0 | |
7 | Release: 1 | |
8 | License: GPL | |
9 | Group: Development/Libraries | |
10 | Source0: http://banshee-project.org/files/njb-sharp/njb-sharp-%{version}.tar.gz | |
11 | # Source0-md5: d59525dcfa69d6196b339b519f53525e | |
12 | BuildRequires: autoconf | |
13 | BuildRequires: automake | |
14 | BuildRequires: libnjb-devel >= 2.2.4 | |
15 | BuildRequires: libtool | |
16 | BuildRequires: mono-csharp >= 1.1.16.1 | |
17 | BuildRequires: pkgconfig | |
18 | ExcludeArch: i386 | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | njb-sharp provides C# bindings for libnjb, to provide NJB Digital | |
23 | Audio Player (DAP) support to Mono applications. | |
24 | ||
25 | %prep | |
26 | %setup -qn njb-sharp-%{version} | |
27 | ||
28 | %build | |
29 | %{__libtoolize} | |
30 | %{__aclocal} | |
31 | %{__autoconf} | |
32 | %{__automake} | |
33 | export CPPFLAGS="-I%{_includedir}/libnjb" | |
34 | %configure | |
35 | ||
36 | %{__make} | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %{__make} install \ | |
42 | DESTDIR=$RPM_BUILD_ROOT | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %doc AUTHORS ChangeLog NEWS README | |
50 | %{_prefix}/lib/njb-sharp | |
51 | %{_pkgconfigdir}/njb-sharp.pc |