]>
Commit | Line | Data |
---|---|---|
694248f7 MB |
1 | Summary: A canvas widget |
2 | Summary(pl.UTF-8): Widget canvas | |
113f68a3 | 3 | Name: hippo-canvas |
393da2f9 | 4 | Version: 0.3.1 |
8421c285 | 5 | Release: 7 |
113f68a3 | 6 | License: LGPL v2 |
694248f7 | 7 | Group: X11/Libraries |
5e37137a | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/hippo-canvas/0.3/%{name}-%{version}.tar.bz2 |
393da2f9 | 9 | # Source0-md5: dc19b95faef7daceb3c827d490bff8c3 |
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 | |
f1b8d348 ER |
66 | %if "%{_rpmversion}" >= "5" |
67 | BuildArch: noarch | |
68 | %endif | |
694248f7 MB |
69 | |
70 | %description apidocs | |
71 | The hippo-canvas library API documentation. | |
72 | ||
73 | %description apidocs -l pl.UTF-8 | |
74 | Dokumentacja API biblioteki hippo-canvas. | |
75 | ||
76 | %package -n python-hippo-canvas | |
77 | Summary: hippo-canvas Python bindings | |
78 | Summary(pl.UTF-8): Wiązania Pythona dla hippo-canvas | |
79 | Group: Development/Languages/Python | |
80 | ||
81 | %description -n python-hippo-canvas | |
82 | hippo-canvas Python bindings. | |
83 | ||
84 | %description -n python-hippo-canvas -l pl.UTF-8 | |
85 | Wiązania Pythona dla hippo-canvas. | |
86 | ||
113f68a3 | 87 | %prep |
88 | %setup -q | |
89 | ||
90 | %build | |
91 | %{__libtoolize} | |
92 | %{__aclocal} | |
93 | %{__autoconf} | |
94 | %{__autoheader} | |
95 | %{__automake} | |
96 | %configure \ | |
97 | --with-html-dir=%{_gtkdocdir} \ | |
694248f7 | 98 | --enable-gtk-doc \ |
113f68a3 | 99 | --enable-static |
100 | ||
101 | %{__make} | |
102 | ||
103 | %install | |
104 | rm -rf $RPM_BUILD_ROOT | |
113f68a3 | 105 | %{__make} install \ |
106 | DESTDIR=$RPM_BUILD_ROOT | |
107 | ||
8421c285 | 108 | %{__rm} $RPM_BUILD_ROOT{%{_libdir}/libhippocanvas*.la,%{py_sitedir}/hippo.{la,a}} |
694248f7 | 109 | |
113f68a3 | 110 | %clean |
111 | rm -rf $RPM_BUILD_ROOT | |
112 | ||
113 | %post -p /sbin/ldconfig | |
114 | %postun -p /sbin/ldconfig | |
115 | ||
116 | %files | |
117 | %defattr(644,root,root,755) | |
118 | %attr(755,root,root) %{_libdir}/libhippocanvas-1.so.*.*.* | |
119 | %attr(755,root,root) %ghost %{_libdir}/libhippocanvas-1.so.0 | |
113f68a3 | 120 | |
121 | %files devel | |
122 | %defattr(644,root,root,755) | |
123 | %attr(755,root,root) %{_libdir}/libhippocanvas-1.so | |
113f68a3 | 124 | %{_includedir}/hippo-canvas-1 |
125 | %{_pkgconfigdir}/hippo-canvas-1.pc | |
126 | ||
127 | %files static | |
128 | %defattr(644,root,root,755) | |
129 | %{_libdir}/libhippocanvas-1.a | |
694248f7 MB |
130 | |
131 | %files apidocs | |
132 | %defattr(644,root,root,755) | |
133 | %{_gtkdocdir}/hippo-canvas | |
134 | ||
135 | %files -n python-hippo-canvas | |
136 | %defattr(644,root,root,755) | |
137 | %attr(755,root,root) %{py_sitedir}/hippo.so |