]> git.pld-linux.org Git - packages/dotnet-gtk-sharp.git/blob - dotnet-gtk-sharp.spec
- rel 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:        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 >= 1.0-3
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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41 %description
42 This package provides bindings for .NET to Gtk+2 and GNOME2 libraries.
43
44 %description -l pl
45 Pakiet ten dostarcza wi±zania dla .NET do bibliotek z Gtk+2 oraz
46 GNOME2.
47
48 %package devel
49 Summary:        Development part of GTK#
50 Summary(pl):    Czê¶æ dla programistów GTK#
51 Group:          Development/Libraries
52 Requires:       %{name} = %{version}-%{release}
53 Provides:       dotnet-gtk-devel
54 Provides:       gtk-sharp-devel
55 Obsoletes:      dotnet-gtk-devel
56 Obsoletes:      gtk-sharp-devel
57
58 %description devel
59 Tools (C source parser and C# code generator) and documentation for
60 developing applications using GTK#.
61
62 %description devel -l pl
63 Narzêdzia (parser kodu C oraz generator kodu C#) i dokumentacja
64 potrzebne przy tworzeniu aplikacji korzystaj±cych z GTK#.
65
66 %package static
67 Summary:        Static gtk-sharp libraries
68 Summary(pl):    Biblioteki statyczne gtk-sharp
69 Group:          Development/Libraries
70 Requires:       %{name}-devel = %{version}-%{release}
71 Provides:       dotnet-gtk-static
72 Provides:       gtk-sharp-static
73 Obsoletes:      dotnet-gtk-static
74 Obsoletes:      gtk-sharp-static
75
76 %description static
77 Static gtk-sharp libraries.
78
79 %description static -l pl
80 Biblioteki statyczne gtk-sharp.
81
82 %prep
83 %setup -q -n gtk-sharp-%{version}
84 %patch0 -p1
85 %patch1 -p1
86 %patch2 -p1
87 %patch3 -p1
88 %patch4 -p1
89
90 %build
91 rm -rf autom4te.cache
92 %{__libtoolize}
93 %{__aclocal}
94 %{__autoheader}
95 %{__automake}
96 %{__autoconf}
97 %configure
98 %{__make}
99
100 %install
101 rm -rf $RPM_BUILD_ROOT
102 install -d $RPM_BUILD_ROOT{%{perl_vendorlib},%{_examplesdir}/%{name}-%{version}}
103
104 %{__make} install \
105         DESTDIR=$RPM_BUILD_ROOT
106
107 cp -a sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
108
109 %clean
110 rm -rf $RPM_BUILD_ROOT
111
112 %post   -p /sbin/ldconfig
113 %postun -p /sbin/ldconfig
114
115 %files
116 %defattr(644,root,root,755)
117 %doc README
118 %attr(755,root,root) %{_bindir}/gconfsharp-schemagen*
119 %attr(755,root,root) %{_libdir}/lib*sharpglue.so
120 %{_libdir}/lib*sharpglue.la
121 %{_libdir}/mono/gac/*
122
123 %files devel
124 %defattr(644,root,root,755)
125 %doc README.generator ChangeLog
126 %attr(755,root,root) %{_bindir}/gapi*
127 %{_datadir}/gapi
128 %{_examplesdir}/%{name}-%{version}
129 %{_pkgconfigdir}/*
130 %{_libdir}/mono/gtk-sharp
131
132 %files static
133 %defattr(644,root,root,755)
134 %{_libdir}/lib*sharpglue.a
This page took 0.11387 seconds and 4 git commands to generate.