]> git.pld-linux.org Git - packages/dotnet-gtk-sharp.git/blob - dotnet-gtk-sharp.spec
- more provides/obsoletes
[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:           dotnet-gtk-sharp
5 Version:        0.93
6 Release:        1
7 License:        LGPL
8 Group:          Development/Libraries
9 #Source0:       http://belnet.dl.sourceforge.net/gtk-sharp/gtk-sharp-%{version}.tar.gz
10 Source0:        http://www.go-mono.com/archive/beta1/gtk-sharp-%{version}.tar.gz
11 # Source0-md5:  b8a1a3a0fc75142fd3867976cd9254c1
12 Patch0:         %{name}-gtkhtml31.patch
13 URL:            http://gtk-sharp.sf.net/
14 Obsoletes:      gtk-sharp
15 Obsoletes:      dotnet-gtk
16 Provides:       gtk-sharp
17 Provides:       dotnet-gtk
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  gtkhtml-devel >= 3.1.14
21 BuildRequires:  libgda-devel >= 1.0.0
22 BuildRequires:  libglade2-devel >= 2.0.1
23 BuildRequires:  libgnomecanvas-devel >= 2.4.0
24 BuildRequires:  libgnomedb-devel >= 1.0.0
25 BuildRequires:  libgnomeui-devel >= 2.4.0
26 BuildRequires:  librsvg-devel >= 2.4.0
27 BuildRequires:  libtool
28 BuildRequires:  mono-csharp
29 BuildRequires:  mono-devel >= 0.95
30 BuildRequires:  ncurses-devel
31 BuildRequires:  rpm-perlprov
32 BuildRequires:  vte-devel >= 0.11.10
33 # temporary, there is cyclic dependence between this package version
34 # and monodoc version
35 BuildConflicts: monodoc
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 This package provides bindings for .NET to Gtk+2 and GNOME2 libraries.
40
41 %description -l pl
42 Pakiet ten dostarcza wi±zania dla .NET do bibliotek z Gtk+2 oraz
43 GNOME2.
44
45 %package devel
46 Summary:        Development part of GTK#
47 Group:          Development/Libraries
48 Obsoletes:      gtk-sharp-devel
49 Obsoletes:      dotnet-gtk-devel
50 Provides:       gtk-sharp-devel
51 Provides:       dotnet-gtk-devel
52 Requires:       %{name} = %{version}-%{release}
53
54 %description devel
55 Tools (C source parser and C# code generator) and documentation for
56 developing applications using GTK#.
57
58 %description devel -l pl
59 Narzêdzia (parser kodu C oraz generator kodu C#) i dokumentacja
60 potrzebne przy tworzeniu aplikacji korzystaj±cych z GTK#.
61
62 %package static
63 Summary:        Static gtk-sharp libraries
64 Summary(pl):    Biblioteki statyczne gtk-sharp
65 Group:          Development/Libraries
66 Obsoletes:      gtk-sharp-static
67 Obsoletes:      dotnet-gtk-static
68 Provides:       gtk-sharp-static
69 Provides:       dotnet-gtk-static
70 Requires:       %{name}-devel = %{version}-%{release}
71
72 %description static
73 Static gtk-sharp libraries.
74
75 %description static -l pl
76 Biblioteki statyczne gtk-sharp.
77
78 %prep
79 %setup -q -n gtk-sharp-%{version}
80 %patch0 -p1
81
82 %build
83 rm -rf autom4te.cache
84 %{__libtoolize}
85 %{__aclocal}
86 %{__autoheader}
87 %{__automake}
88 %{__autoconf}
89 %configure
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94 install -d $RPM_BUILD_ROOT{%{perl_vendorlib},%{_examplesdir}/%{name}-%{version}}
95
96 %{__make} install \
97         DESTDIR=$RPM_BUILD_ROOT
98
99 #mv -f $RPM_BUILD_ROOT%{_datadir}/perl5/GAPI $RPM_BUILD_ROOT%{perl_vendorlib}
100 cp -a sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
101
102 %clean
103 rm -rf $RPM_BUILD_ROOT
104
105 %post   -p /sbin/ldconfig
106 %postun -p /sbin/ldconfig
107
108 %files
109 %defattr(644,root,root,755)
110 %doc README
111 %attr(755,root,root) %{_bindir}/gconfsharp-schemagen*
112 %attr(755,root,root) %{_libdir}/lib*sharpglue.so
113 %{_libdir}/lib*sharpglue.la
114 %{_libdir}/mono/gac/*
115
116 %files devel
117 %defattr(644,root,root,755)
118 %doc README.generator ChangeLog
119 %attr(755,root,root) %{_bindir}/gapi*
120 %{_datadir}/gapi
121 #%{perl_vendorlib}/GAPI
122 %{_examplesdir}/%{name}-%{version}
123 %{_pkgconfigdir}/*
124 %{_libdir}/mono/gtk-sharp
125
126 %files static
127 %defattr(644,root,root,755)
128 %{_libdir}/lib*sharpglue.a
This page took 0.065831 seconds and 4 git commands to generate.