]> git.pld-linux.org Git - packages/dotnet-gtk-sharp.git/blob - dotnet-gtk-sharp.spec
- added version to mono BR's
[packages/dotnet-gtk-sharp.git] / dotnet-gtk-sharp.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        .NET language bindings for Gtk+ and GNOME
3 Summary(pl):    Wi±zania Gtk+ oraz GNOME dla .NET
4 Name:           dotnet-gtk
5 Version:        0.91.1
6 Release:        2
7 License:        LGPL
8 Group:          Development/Libraries
9 #Source0:       http://belnet.dl.sourceforge.net/gtk-sharp/gtk-sharp-%{version}.tar.gz
10 Source0:        http://www.go-mono.com/archive/beta1/gtk-sharp-%{version}.tar.gz
11 # Source0-md5:  5e4537398dba1e88886f9c0193df4602
12 Patch0:         %{name}-gtkhtml31.patch
13 URL:            http://gtk-sharp.sf.net/
14 Obsoletes:      gtk-sharp
15 Provides:       gtk-sharp
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  gtkhtml-devel >= 3.1.14
19 BuildRequires:  libgda-devel >= 1.0.0
20 BuildRequires:  libglade2-devel >= 2.0.1
21 BuildRequires:  libgnomecanvas-devel >= 2.4.0
22 BuildRequires:  libgnomedb-devel >= 1.0.0
23 BuildRequires:  libgnomeui-devel >= 2.4.0
24 BuildRequires:  librsvg-devel >= 2.4.0
25 BuildRequires:  libtool
26 BuildRequires:  mono-csharp
27 BuildRequires:  mono-devel >= 0.91
28 BuildRequires:  ncurses-devel
29 BuildRequires:  rpm-perlprov
30 BuildRequires:  vte-devel >= 0.11.10
31 # temporary, there is cyclic dependence between this package version
32 # and monodoc version
33 BuildConflicts: monodoc
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 This package provides bindings for .NET to Gtk+2 and GNOME2 libraries.
38
39 %description -l pl
40 Pakiet ten dostarcza wi±zania dla .NET do bibliotek z Gtk+2 oraz
41 GNOME2.
42
43 %package devel
44 Summary:        Development part of GTK#
45 Group:          Development/Libraries
46 Obsoletes:      gtk-sharp-devel
47 Provides:       gtk-sharp-devel
48 Requires:       %{name} = %{version}-%{release}
49
50 %description devel
51 Tools (C source parser and C# code generator) and documentation for
52 developing applications using GTK#.
53
54 %description devel -l pl
55 Narzêdzia (parser kodu C oraz generator kodu C#) i dokumentacja
56 potrzebne przy tworzeniu aplikacji korzystaj±cych z GTK#.
57
58 %package static
59 Summary:        Static gtk-sharp libraries
60 Summary(pl):    Biblioteki statyczne gtk-sharp
61 Group:          Development/Libraries
62 Obsoletes:      gtk-sharp-static
63 Provides:       gtk-sharp-static
64 Requires:       %{name}-devel = %{version}-%{release}
65
66 %description static
67 Static gtk-sharp libraries.
68
69 %description static -l pl
70 Biblioteki statyczne gtk-sharp.
71
72 %prep
73 %setup -q -n gtk-sharp-%{version}
74 %patch0 -p1
75
76 %build
77 rm -rf autom4te.cache
78 %{__libtoolize}
79 %{__aclocal}
80 %{__autoheader}
81 %{__automake}
82 %{__autoconf}
83 %configure
84 %{__make}
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88 install -d $RPM_BUILD_ROOT{%{perl_vendorlib},%{_examplesdir}/%{name}-%{version}}
89
90 %{__make} install \
91         DESTDIR=$RPM_BUILD_ROOT
92
93 mv -f $RPM_BUILD_ROOT%{_datadir}/perl5/GAPI $RPM_BUILD_ROOT%{perl_vendorlib}
94 cp -a sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
95
96 %clean
97 rm -rf $RPM_BUILD_ROOT
98
99 %post   -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
101
102 %files
103 %defattr(644,root,root,755)
104 %doc README
105 %attr(755,root,root) %{_bindir}/gconfsharp-schemagen*
106 %attr(755,root,root) %{_libdir}/lib*sharpglue.so
107 %{_libdir}/lib*sharpglue.la
108 %{_libdir}/mono/gac/*
109
110 %files devel
111 %defattr(644,root,root,755)
112 %doc README.generator ChangeLog
113 %attr(755,root,root) %{_bindir}/gapi*
114 %{_datadir}/gapi
115 %{perl_vendorlib}/GAPI
116 %{_examplesdir}/%{name}-%{version}
117 %{_pkgconfigdir}/*
118 %{_libdir}/mono/gtk-sharp
119
120 %files static
121 %defattr(644,root,root,755)
122 %{_libdir}/lib*sharpglue.a
This page took 0.031166 seconds and 4 git commands to generate.