]> git.pld-linux.org Git - packages/dotnet-njb-sharp.git/blob - dotnet-njb-sharp.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/dotnet-njb-sharp.git] / dotnet-njb-sharp.spec
1 Summary:        .NET support for NJB players
2 Summary(pl.UTF-8):      Obsługa odtwarzaczy NJB z poziomu .NET
3 Name:           dotnet-njb-sharp
4 Version:        0.3.0
5 Release:        4
6 License:        MIT
7 Group:          Libraries
8 Source0:        http://banshee-project.org/files/njb-sharp/njb-sharp-%{version}.tar.gz
9 # Source0-md5:  d59525dcfa69d6196b339b519f53525e
10 Patch0:         %{name}-sonames.patch
11 URL:            http://banshee-project.org/Subprojects/Njb-sharp
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 # through njb-sharp.dll.config
19 %ifarch %{x8664} ia64 ppc64 s390x sparc64
20 Requires:       libnjb.so.5()(64bit)
21 %else
22 Requires:       libnjb.so.5
23 %endif
24 ExcludeArch:    i386
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 njb-sharp provides C# bindings for libnjb, to provide NJB Digital
29 Audio Player (DAP) support to Mono applications.
30
31 %description -l pl.UTF-8
32 njb-sharp udostępnia wiązania C# dla libnjb, aby zapewnić obsługę
33 odtwarzaczy NJB Digital Audio Player (DAP) w aplikacjach Mono.
34
35 %prep
36 %setup -qn njb-sharp-%{version}
37 %patch0 -p1
38
39 %build
40 %{__libtoolize}
41 %{__aclocal}
42 %{__autoconf}
43 %{__automake}
44 %configure \
45         CPPFLAGS="-I%{_includedir}/libnjb" \
46         --disable-static
47
48 %{__make} -j1
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 rm -f $RPM_BUILD_ROOT%{_libdir}/njb-sharp/*.la
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc AUTHORS COPYING ChangeLog NEWS README
64 %dir %{_libdir}/njb-sharp
65 %attr(755,root,root) %{_libdir}/njb-sharp/libnjbglue.so
66 %{_libdir}/njb-sharp/njb-sharp.dll
67 %{_libdir}/njb-sharp/njb-sharp.dll.config
68 # -devel?
69 %{_libdir}/njb-sharp/njb-sharp.dll.mdb
70 %{_pkgconfigdir}/njb-sharp.pc
This page took 0.145087 seconds and 4 git commands to generate.