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