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