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