SPECS: dotnet-njb-sharp.spec - pl, URL - License is MIT - sonames ...

qboosh qboosh at pld-linux.org
Sun Jul 15 14:28:24 CEST 2007


Author: qboosh                       Date: Sun Jul 15 12:28:24 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, URL
- License is MIT
- sonames patch + dependency on libnjb soname

---- Files affected:
SPECS:
   dotnet-njb-sharp.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/dotnet-njb-sharp.spec
diff -u SPECS/dotnet-njb-sharp.spec:1.2 SPECS/dotnet-njb-sharp.spec:1.3
--- SPECS/dotnet-njb-sharp.spec:1.2	Tue Jul 10 18:35:07 2007
+++ SPECS/dotnet-njb-sharp.spec	Sun Jul 15 14:28:19 2007
@@ -1,21 +1,28 @@
 # $Revision$, $Date$
-#
 %include	/usr/lib/rpm/macros.mono
-#
 Summary:	.NET support for NJB players
+Summary(pl.UTF-8):	Obsługa odtwarzaczy NJB z poziomu .NET
 Name:		dotnet-njb-sharp
 Version:	0.3.0
 Release:	2
-License:	GPL
-Group:		Development/Libraries
+License:	MIT
+Group:		Libraries
 Source0:	http://banshee-project.org/files/njb-sharp/njb-sharp-%{version}.tar.gz
 # Source0-md5:	d59525dcfa69d6196b339b519f53525e
+Patch0:		%{name}-sonames.patch
+URL:		http://banshee-project.org/Subprojects/Njb-sharp
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	libnjb-devel >= 2.2.4
 BuildRequires:	libtool
 BuildRequires:	mono-csharp >= 1.1.16.1
 BuildRequires:	pkgconfig
+# through njb-sharp.dll.config
+%ifarch %{x8664} ia64 ppc64 s390x sparc64
+Requires:	libnjb.so.5()(64bit)
+%else
+Requires:	libnjb.so.5
+%endif
 ExcludeArch:	i386
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -23,18 +30,24 @@
 njb-sharp provides C# bindings for libnjb, to provide NJB Digital
 Audio Player (DAP) support to Mono applications.
 
+%description -l pl.UTF-8
+njb-sharp udostępnia wiązania C# dla libnjb, aby zapewnić obsługę
+odtwarzaczy NJB Digital Audio Player (DAP) w aplikacjach Mono.
+
 %prep
 %setup -qn njb-sharp-%{version}
+%patch0 -p1
 
 %build
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-export CPPFLAGS="-I%{_includedir}/libnjb"
-%configure
+%configure \
+	CPPFLAGS="-I%{_includedir}/libnjb" \
+	--disable-static
 
-%{__make}
+%{__make} -j1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -42,13 +55,20 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+rm -f $RPM_BUILD_ROOT%{_libdir}/njb-sharp/*.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
-%{_libdir}/njb-sharp
+%doc AUTHORS COPYING ChangeLog NEWS README
+%dir %{_libdir}/njb-sharp
+%attr(755,root,root) %{_libdir}/njb-sharp/libnjbglue.so
+%{_libdir}/njb-sharp/njb-sharp.dll
+%{_libdir}/njb-sharp/njb-sharp.dll.config
+# -devel?
+%{_libdir}/njb-sharp/njb-sharp.dll.mdb
 %{_pkgconfigdir}/njb-sharp.pc
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -57,9 +77,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/07/15 12:28:19  qboosh
+- pl, URL
+- License is MIT
+- sonames patch + dependency on libnjb soname
+
 Revision 1.2  2007/07/10 16:35:07  wolvverine
 - lib -> %{libdir}
 
 Revision 1.1  2007/07/07 17:00:40  patrys
 - initial PLD release
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dotnet-njb-sharp.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list