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