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