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