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