]> git.pld-linux.org Git - packages/dotnet-gtk-sharp.git/blob - dotnet-gtk-sharp.spec
- rel 2
[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:        2
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/beta2/gtk-sharp-%{version}.tar.gz
11 # Source0-md5:  b8a1a3a0fc75142fd3867976cd9254c1
12 Patch0:         %{name}-gtkhtml31.patch
13 Patch1:         %{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.95
31 BuildRequires:  ncurses-devel
32 BuildRequires:  rpm-perlprov
33 BuildRequires:  vte-devel >= 0.11.10
34 # temporary, there is cyclic dependence between this package version
35 # and monodoc version
36 BuildConflicts: monodoc
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 This package provides bindings for .NET to Gtk+2 and GNOME2 libraries.
41
42 %description -l pl
43 Pakiet ten dostarcza wi±zania dla .NET do bibliotek z Gtk+2 oraz
44 GNOME2.
45
46 %package devel
47 Summary:        Development part of GTK#
48 Group:          Development/Libraries
49 Obsoletes:      gtk-sharp-devel
50 Obsoletes:      dotnet-gtk-devel
51 Provides:       gtk-sharp-devel
52 Provides:       dotnet-gtk-devel
53 Requires:       %{name} = %{version}-%{release}
54
55 %description devel
56 Tools (C source parser and C# code generator) and documentation for
57 developing applications using GTK#.
58
59 %description devel -l pl
60 Narzêdzia (parser kodu C oraz generator kodu C#) i dokumentacja
61 potrzebne przy tworzeniu aplikacji korzystaj±cych z GTK#.
62
63 %package static
64 Summary:        Static gtk-sharp libraries
65 Summary(pl):    Biblioteki statyczne gtk-sharp
66 Group:          Development/Libraries
67 Obsoletes:      gtk-sharp-static
68 Obsoletes:      dotnet-gtk-static
69 Provides:       gtk-sharp-static
70 Provides:       dotnet-gtk-static
71 Requires:       %{name}-devel = %{version}-%{release}
72
73 %description static
74 Static gtk-sharp libraries.
75
76 %description static -l pl
77 Biblioteki statyczne gtk-sharp.
78
79 %prep
80 %setup -q -n gtk-sharp-%{version}
81 %patch0 -p1
82 %patch1 -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 #mv -f $RPM_BUILD_ROOT%{_datadir}/perl5/GAPI $RPM_BUILD_ROOT%{perl_vendorlib}
102 cp -a sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %post   -p /sbin/ldconfig
108 %postun -p /sbin/ldconfig
109
110 %files
111 %defattr(644,root,root,755)
112 %doc README
113 %attr(755,root,root) %{_bindir}/gconfsharp-schemagen*
114 %attr(755,root,root) %{_libdir}/lib*sharpglue.so
115 %{_libdir}/lib*sharpglue.la
116 %{_libdir}/mono/gac/*
117
118 %files devel
119 %defattr(644,root,root,755)
120 %doc README.generator ChangeLog
121 %attr(755,root,root) %{_bindir}/gapi*
122 %{_datadir}/gapi
123 #%{perl_vendorlib}/GAPI
124 %{_examplesdir}/%{name}-%{version}
125 %{_pkgconfigdir}/*
126 %{_libdir}/mono/gtk-sharp
127
128 %files static
129 %defattr(644,root,root,755)
130 %{_libdir}/lib*sharpglue.a
This page took 0.077263 seconds and 4 git commands to generate.