/[packages]/cauldron/gtk-sharp2/current/SPECS/gtk-sharp2.spec
ViewVC logotype

Contents of /cauldron/gtk-sharp2/current/SPECS/gtk-sharp2.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18972 - (show annotations) (download)
Sat Jan 15 15:52:31 2011 UTC (13 years, 3 months ago) by pterjan
File size: 3039 byte(s)
imported package gtk-sharp2
1 %define name gtk-sharp2
2 %define oname gtk-sharp
3 %define release %mkrel 1
4 %define mono 1.0.2
5 %define monodir %_prefix/lib/mono
6
7 Summary: C# language binding for the gtk+ toolkit
8 Name: %name
9 Version: 2.12.10
10 Release: %release
11 License: LGPLv2
12 Group: System/Libraries
13 URL: http://gtk-sharp.sourceforge.net/
14 Source0: ftp://ftp.gnome.org/pub/GNOME/sources/gtk-sharp/%oname-%version.tar.bz2
15 BuildRoot: %_tmppath/%name-buildroot
16 Requires: glib-sharp2 = %version
17 BuildRequires: mono-devel >= %mono
18 BuildRequires: libglade2.0-devel
19 BuildRequires: libxslt-devel
20 BuildRequires: monodoc
21
22 %description
23 Gtk-sharp is a C# language binding for the gtk+ toolkit.
24
25
26 %package devel
27 Summary: C# code generation tools for %name
28 Group: Development/Other
29
30 %description devel
31 This contains the code generation tools of gtk-sharp. It is needed for building
32 C# wrappers for GObject APIs.
33
34 %package -n glib-sharp2
35 Summary: C# binding for glib
36 Group: System/Libraries
37 Requires: mono >= %mono
38
39 %description -n glib-sharp2
40 Glib-sharp is a C# language binding for glib.
41
42 %package -n glade-sharp2
43 Summary: C# binding for glade
44 Group: System/Libraries
45 Requires: %name = %version
46
47 %description -n glade-sharp2
48 Glade-sharp is a C# language binding for glade.
49
50
51 %package doc
52 Summary: Documentation for gtk-sharp
53 Group: Development/Other
54 Requires(post): mono-tools >= 1.1.9
55 Requires(postun): mono-tools >= 1.1.9
56
57 %description doc
58 Gtk-sharp is a C# language binding for the gtk+ toolkit.
59 This package provides documentation for gtk-sharp.
60
61 %prep
62 rm -rf %buildroot
63
64 %setup -q -n %oname-%version
65
66 %build
67 %configure2_5x
68 make
69
70 %install
71 rm -rf %buildroot
72 %makeinstall
73
74 rm -rf %buildroot%_libdir/lib*a
75
76 %clean
77 rm -rf %buildroot
78
79 %post doc
80 %_bindir/monodoc --make-index > /dev/null
81
82 %postun doc
83 if [ "$1" = "0" -a -x %_bindir/monodoc ]; then %_bindir/monodoc --make-index > /dev/null
84 fi
85
86
87 %files
88 %defattr(-,root,root)
89 %monodir/gac/*atk-sharp
90 %monodir/gac/*gdk-sharp
91 %monodir/gac/*gtk-dotnet
92 %monodir/gac/*gtk-sharp
93 %monodir/gac/*pango-sharp
94 %monodir/%oname-2.0/*atk-sharp.dll*
95 %monodir/%oname-2.0/*gdk-sharp.dll*
96 %monodir/%oname-2.0/*gtk-sharp.dll*
97 %monodir/%oname-2.0/*gtk-dotnet.dll*
98 %monodir/%oname-2.0/*pango-sharp.dll*
99 %_libdir/libatksharpglue-2.so
100 %_libdir/libgdksharpglue-2.so
101 %_libdir/libgtksharpglue-2.so
102 %_libdir/libpangosharpglue-2.so
103 %_libdir/pkgconfig/gtk-sharp-2.0.pc
104 %_libdir/pkgconfig/gtk-dotnet-2.0.pc
105
106 %files -n glib-sharp2
107 %defattr(-,root,root)
108 %monodir/gac/*glib-sharp
109 %monodir/%oname-2.0/*glib-sharp.dll*
110 %_libdir/libglibsharpglue-2.so
111 %_libdir/pkgconfig/glib-sharp-2.0.pc
112
113 %files -n glade-sharp2
114 %defattr(-,root,root)
115 %monodir/gac/*glade-sharp
116 %monodir/%oname-2.0/*glade-sharp.dll*
117 %_libdir/pkgconfig/glade-sharp-2.0.pc
118 %_libdir/libgladesharpglue-2.so
119
120 %files doc
121 %defattr(-,root,root)
122 %doc ChangeLog README README.generator
123 #*[^makefile|README]
124 %doc sample
125 %_prefix/lib/monodoc/sources/gtk*
126
127 %files devel
128 %defattr(-,root,root)
129 %_bindir/*
130 %_datadir/gapi-2.0/
131 %_libdir/pkgconfig/gapi-2.0.pc
132 %_prefix/lib/%oname-2.0/
133
134
135

  ViewVC Help
Powered by ViewVC 1.1.30