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