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