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