]>
Commit | Line | Data |
---|---|---|
5d4c2320 | 1 | %include /usr/lib/rpm/macros.mono |
2 | Summary: .NET language bindings for GtkSourceView | |
54f5af9c | 3 | Summary(pl.UTF-8): Wiązania GtkSourceView dla .NET |
5d4c2320 | 4 | Name: dotnet-gtksourceview-sharp2 |
bdbb4c70 | 5 | Version: 0.12 |
adcbef4c | 6 | Release: 2 |
5d4c2320 | 7 | License: LGPL |
5467375f | 8 | Group: Libraries |
c5d5db75 JB |
9 | # latest downloads summary at http://ftp.novell.com/pub/mono/sources-stable/ |
10 | Source0: http://ftp.novell.com/pub/mono/sources/gtksourceview-sharp2/gtksourceview-sharp-2.0-%{version}.tar.bz2 | |
bdbb4c70 | 11 | # Source0-md5: f0c9c6dc24b677d9208b0c8c38e769a4 |
adcbef4c | 12 | Patch0: %{name}-dont-build-samples.patch |
5d4c2320 | 13 | URL: http://www.mono-project.com/ |
14 | BuildRequires: autoconf | |
15 | BuildRequires: automake >= 1:1.7 | |
e2139f6b | 16 | BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0 |
5d4c2320 | 17 | BuildRequires: gtksourceview-devel >= 1.0.1 |
18 | BuildRequires: libtool | |
19 | BuildRequires: monodoc | |
010c3efe | 20 | BuildRequires: mono-csharp >= 1.1.7 |
5d4c2320 | 21 | BuildRequires: pkgconfig |
e2139f6b | 22 | Requires: dotnet-gnome-sharp >= 2.16.0 |
010c3efe | 23 | Requires: mono >= 1.1.7 |
5d4c2320 | 24 | Requires: gtksourceview >= 1.0.1 |
9ec1bf16 | 25 | ExcludeArch: i386 |
5d4c2320 | 26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
28 | %description | |
5467375f | 29 | This package provides .NET bindings for GtkSourceView library. |
5d4c2320 | 30 | |
58e857c5 JR |
31 | %description -l pl.UTF-8 |
32 | Pakiet ten dostarcza wiązania .NET do biblioteki GtkSourceView. | |
5d4c2320 | 33 | |
34 | %package devel | |
35 | Summary: Development part of GtkSourceView# | |
54f5af9c | 36 | Summary(pl.UTF-8): Część GtkSourceView# przeznaczona dla programistów |
5d4c2320 | 37 | Group: Development/Libraries |
38 | Requires: %{name} = %{version}-%{release} | |
e2139f6b | 39 | Requires: dotnet-gnome-sharp-devel >= 2.16.0 |
5d4c2320 | 40 | |
41 | %description devel | |
42 | Development part of GtkSourceView#. | |
43 | ||
58e857c5 JR |
44 | %description devel -l pl.UTF-8 |
45 | Część GtkSourceView# przeznaczona dla programistów. | |
5d4c2320 | 46 | |
47 | %prep | |
48 | %setup -q -n gtksourceview-sharp-2.0-%{version} | |
adcbef4c | 49 | %patch0 -p1 |
5d4c2320 | 50 | |
51 | %build | |
5d4c2320 | 52 | %{__libtoolize} |
53 | %{__aclocal} | |
54 | %{__automake} | |
55 | %{__autoconf} | |
56 | %configure | |
57 | %{__make} | |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | install -d $RPM_BUILD_ROOT`monodoc --get-sourcesdir` | |
62 | ||
63 | %{__make} install \ | |
010c3efe JB |
64 | DESTDIR=$RPM_BUILD_ROOT \ |
65 | pkgconfigdir=%{_pkgconfigdir} | |
5d4c2320 | 66 | |
010c3efe | 67 | # already in gtksourceview package |
5d4c2320 | 68 | rm -f $RPM_BUILD_ROOT%{_datadir}/gtksourceview-1.0/language-specs/{csharp,nemerle,vbnet}.lang |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %files | |
74 | %defattr(644,root,root,755) | |
5467375f | 75 | %doc AUTHORS ChangeLog |
010c3efe | 76 | %{_prefix}/lib/mono/gac/* |
5d4c2320 | 77 | |
78 | %files devel | |
79 | %defattr(644,root,root,755) | |
010c3efe | 80 | %{_prefix}/lib/mono/gtksourceview-sharp-2.0 |
5d4c2320 | 81 | %{_datadir}/gapi-2.0/* |
010c3efe | 82 | %{_pkgconfigdir}/*.pc |
5d4c2320 | 83 | %{_libdir}/monodoc/sources/gtksourceview-sharp-* |