]> git.pld-linux.org Git - packages/dotnet-gtk-sharp.git/blob - dotnet-gtk-sharp.spec
- added gtkhtml31 patch (allow building with gtkhtml-3.1.x)
[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:           gtk-sharp
5 Version:        0.15
6 Release:        2
7 License:        LGPL
8 Group:          Development/Libraries
9 Source0:        http://dl.sourceforge.net/gtk-sharp/%{name}-%{version}.tar.gz
10 # Source0-md5:  f61b6da79cb66a87fa80cf0bd6831aaa
11 Patch0:         %{name}-gtkhtml31.patch
12 URL:            http://gtk-sharp.sf.net/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  gtkhtml-devel >= 3.0.0
16 BuildRequires:  libgda-devel >= 1.0.0
17 BuildRequires:  libglade2-devel >= 2.0.1
18 BuildRequires:  libgnomecanvas-devel >= 2.4.0
19 BuildRequires:  libgnomedb >= 1.0.0
20 BuildRequires:  libgnomeui-devel >= 2.4.0
21 BuildRequires:  librsvg-devel >= 2.4.0
22 BuildRequires:  libtool
23 BuildRequires:  mono-csharp
24 BuildRequires:  rpm-perlprov
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 This package provides bindings for .NET to Gtk+2 and GNOME2 libraries.
29
30 %description -l pl
31 Pakiet ten dostarcza wi±zania dla .NET do bibliotek z Gtk+2 oraz
32 GNOME2.
33
34 %package devel
35 Summary:        Development part of GTK#
36 Group:          Development/Libraries
37 Requires:       %{name} = %{version}
38
39 %description devel
40 Tools (C source parser and C# code generator) and documentation for
41 developing applications using GTK#.
42
43 %description devel -l pl
44 Narzêdzia (parser kodu C oraz generator kodu C#) i dokumentacja
45 potrzebne przy tworzeniu aplikacji korzystaj±cych z GTK#.
46
47 %package static
48 Summary:        Static gtk-sharp libraries
49 Summary(pl):    Biblioteki statyczne gtk-sharp
50 Group:          Development/Libraries
51 Requires:       %{name}-devel = %{version}
52
53 %description static
54 Static gtk-sharp libraries.
55
56 %description static -l pl
57 Biblioteki statyczne gtk-sharp.
58
59 %prep
60 %setup -q
61 %patch0 -p1
62
63 %build
64 %{__libtoolize}
65 %{__aclocal}
66 %{__autoheader}
67 %{__automake}
68 %{__autoconf}
69 %configure
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74 install -d $RPM_BUILD_ROOT{%{perl_vendorlib},%{_examplesdir}/%{name}-%{version}}
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 mv -f $RPM_BUILD_ROOT%{_datadir}/perl5/GAPI $RPM_BUILD_ROOT%{perl_vendorlib}
80 cp -a sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %post   -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
87
88 %files
89 %defattr(644,root,root,755)
90 %doc README
91 %attr(755,root,root) %{_bindir}/gconfsharp-schemagen*
92 %attr(755,root,root) %{_libdir}/libgtksharpglue.so
93 %{_libdir}/libgtksharpglue.la
94 %{_libdir}/*.dll
95
96 %files devel
97 %defattr(644,root,root,755)
98 %doc README.generator ChangeLog
99 %attr(755,root,root) %{_bindir}/gapi*
100 %{_datadir}/gapi
101 %{perl_vendorlib}/GAPI
102 %{_examplesdir}/%{name}-%{version}
103 %{_pkgconfigdir}/*
104
105 %files static
106 %defattr(644,root,root,755)
107 %{_libdir}/libgtksharpglue.a
This page took 0.033062 seconds and 4 git commands to generate.