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