]>
Commit | Line | Data |
---|---|---|
694248f7 MB |
1 | Summary: A canvas widget |
2 | Summary(pl.UTF-8): Widget canvas | |
113f68a3 | 3 | Name: hippo-canvas |
5e37137a | 4 | Version: 0.3.0 |
31dfc5bc | 5 | Release: 3 |
113f68a3 | 6 | License: LGPL v2 |
694248f7 | 7 | Group: X11/Libraries |
5e37137a PZ |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/hippo-canvas/0.3/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 9a0f64eb0258a3e8ba710eff9798a7d0 | |
113f68a3 | 10 | BuildRequires: autoconf >= 2.59 |
11 | BuildRequires: automake | |
12 | BuildRequires: cairo-devel | |
02ecff4e | 13 | BuildRequires: docbook-dtd412-xml |
694248f7 | 14 | BuildRequires: glib2-devel >= 1:2.6.0 |
113f68a3 | 15 | BuildRequires: gtk+2-devel >= 2:2.10.0 |
694248f7 | 16 | BuildRequires: gtk-doc >= 1.6 |
113f68a3 | 17 | BuildRequires: libcroco-devel >= 0.6 |
5e37137a | 18 | BuildRequires: librsvg-devel >= 2.16.0 |
694248f7 MB |
19 | BuildRequires: libtool |
20 | BuildRequires: pango-devel >= 1.14.0 | |
113f68a3 | 21 | BuildRequires: pkgconfig |
694248f7 MB |
22 | BuildRequires: python-devel |
23 | BuildRequires: python-pycairo-devel | |
24 | BuildRequires: python-pygtk-devel | |
02ecff4e | 25 | BuildRequires: rpm-pythonprov |
113f68a3 | 26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
28 | %description | |
694248f7 MB |
29 | The hippo-canvas library contains a canvas widget developed by the |
30 | Mugshot team for displaying GTK+ UI across multiple platforms. | |
113f68a3 | 31 | |
32 | %description -l pl.UTF-8 | |
694248f7 MB |
33 | Biblioteka hippo-canvas zawiera widget canvas rozwijany przez zespół |
34 | Mugshot w celu wyświetlania UI w GTK+ na wielu platformach. | |
113f68a3 | 35 | |
36 | %package devel | |
37 | Summary: Header files for the hippo-canvas library | |
38 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki hippo-canvas | |
694248f7 | 39 | Group: X11/Development/Libraries |
113f68a3 | 40 | Requires: %{name} = %{version}-%{release} |
694248f7 | 41 | Requires: gtk+2-devel >= 2:2.10.0 |
113f68a3 | 42 | |
43 | %description devel | |
44 | Header files for the hippo-canvas library. | |
45 | ||
46 | %description devel -l pl.UTF-8 | |
47 | Pliki nagłówkowe biblioteki hippo-canvas. | |
48 | ||
49 | %package static | |
50 | Summary: Static hippo-canvas library | |
51 | Summary(pl.UTF-8): Statyczna biblioteka hippo-canvas | |
694248f7 | 52 | Group: X11/Development/Libraries |
113f68a3 | 53 | Requires: %{name}-devel = %{version}-%{release} |
54 | ||
55 | %description static | |
56 | Static hippo-canvas library. | |
57 | ||
58 | %description static -l pl.UTF-8 | |
59 | Statyczna biblioteka hippo-canvas. | |
60 | ||
694248f7 MB |
61 | %package apidocs |
62 | Summary: The hippo-canvas library API documentation | |
63 | Summary(pl.UTF-8): Dokumentacja API biblioteki hippo-canvas | |
64 | Group: Documentation | |
65 | Requires: gtk-doc-common | |
66 | ||
67 | %description apidocs | |
68 | The hippo-canvas library API documentation. | |
69 | ||
70 | %description apidocs -l pl.UTF-8 | |
71 | Dokumentacja API biblioteki hippo-canvas. | |
72 | ||
73 | %package -n python-hippo-canvas | |
74 | Summary: hippo-canvas Python bindings | |
75 | Summary(pl.UTF-8): Wiązania Pythona dla hippo-canvas | |
76 | Group: Development/Languages/Python | |
77 | ||
78 | %description -n python-hippo-canvas | |
79 | hippo-canvas Python bindings. | |
80 | ||
81 | %description -n python-hippo-canvas -l pl.UTF-8 | |
82 | Wiązania Pythona dla hippo-canvas. | |
83 | ||
113f68a3 | 84 | %prep |
85 | %setup -q | |
86 | ||
87 | %build | |
88 | %{__libtoolize} | |
89 | %{__aclocal} | |
90 | %{__autoconf} | |
91 | %{__autoheader} | |
92 | %{__automake} | |
93 | %configure \ | |
94 | --with-html-dir=%{_gtkdocdir} \ | |
694248f7 | 95 | --enable-gtk-doc \ |
113f68a3 | 96 | --enable-static |
97 | ||
98 | %{__make} | |
99 | ||
100 | %install | |
101 | rm -rf $RPM_BUILD_ROOT | |
102 | ||
103 | %{__make} install \ | |
104 | DESTDIR=$RPM_BUILD_ROOT | |
105 | ||
694248f7 MB |
106 | rm -f $RPM_BUILD_ROOT%{py_sitedir}/hippo.{la,a} |
107 | ||
113f68a3 | 108 | %clean |
109 | rm -rf $RPM_BUILD_ROOT | |
110 | ||
111 | %post -p /sbin/ldconfig | |
112 | %postun -p /sbin/ldconfig | |
113 | ||
114 | %files | |
115 | %defattr(644,root,root,755) | |
116 | %attr(755,root,root) %{_libdir}/libhippocanvas-1.so.*.*.* | |
117 | %attr(755,root,root) %ghost %{_libdir}/libhippocanvas-1.so.0 | |
113f68a3 | 118 | |
119 | %files devel | |
120 | %defattr(644,root,root,755) | |
121 | %attr(755,root,root) %{_libdir}/libhippocanvas-1.so | |
122 | %{_libdir}/libhippocanvas-1.la | |
113f68a3 | 123 | %{_includedir}/hippo-canvas-1 |
124 | %{_pkgconfigdir}/hippo-canvas-1.pc | |
125 | ||
126 | %files static | |
127 | %defattr(644,root,root,755) | |
128 | %{_libdir}/libhippocanvas-1.a | |
694248f7 MB |
129 | |
130 | %files apidocs | |
131 | %defattr(644,root,root,755) | |
132 | %{_gtkdocdir}/hippo-canvas | |
133 | ||
134 | %files -n python-hippo-canvas | |
135 | %defattr(644,root,root,755) | |
136 | %attr(755,root,root) %{py_sitedir}/hippo.so |