]>
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 |
2fe6c7ac | 5 | Release: 8 |
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 | 66 | BuildArch: noarch |
694248f7 MB |
67 | |
68 | %description apidocs | |
69 | The hippo-canvas library API documentation. | |
70 | ||
71 | %description apidocs -l pl.UTF-8 | |
72 | Dokumentacja API biblioteki hippo-canvas. | |
73 | ||
74 | %package -n python-hippo-canvas | |
75 | Summary: hippo-canvas Python bindings | |
76 | Summary(pl.UTF-8): Wiązania Pythona dla hippo-canvas | |
77 | Group: Development/Languages/Python | |
78 | ||
79 | %description -n python-hippo-canvas | |
80 | hippo-canvas Python bindings. | |
81 | ||
82 | %description -n python-hippo-canvas -l pl.UTF-8 | |
83 | Wiązania Pythona dla hippo-canvas. | |
84 | ||
113f68a3 | 85 | %prep |
86 | %setup -q | |
87 | ||
88 | %build | |
89 | %{__libtoolize} | |
90 | %{__aclocal} | |
91 | %{__autoconf} | |
92 | %{__autoheader} | |
93 | %{__automake} | |
94 | %configure \ | |
95 | --with-html-dir=%{_gtkdocdir} \ | |
694248f7 | 96 | --enable-gtk-doc \ |
113f68a3 | 97 | --enable-static |
98 | ||
99 | %{__make} | |
100 | ||
101 | %install | |
102 | rm -rf $RPM_BUILD_ROOT | |
113f68a3 | 103 | %{__make} install \ |
104 | DESTDIR=$RPM_BUILD_ROOT | |
105 | ||
8421c285 | 106 | %{__rm} $RPM_BUILD_ROOT{%{_libdir}/libhippocanvas*.la,%{py_sitedir}/hippo.{la,a}} |
694248f7 | 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 | |
113f68a3 | 122 | %{_includedir}/hippo-canvas-1 |
123 | %{_pkgconfigdir}/hippo-canvas-1.pc | |
124 | ||
125 | %files static | |
126 | %defattr(644,root,root,755) | |
127 | %{_libdir}/libhippocanvas-1.a | |
694248f7 MB |
128 | |
129 | %files apidocs | |
130 | %defattr(644,root,root,755) | |
131 | %{_gtkdocdir}/hippo-canvas | |
132 | ||
133 | %files -n python-hippo-canvas | |
134 | %defattr(644,root,root,755) | |
135 | %attr(755,root,root) %{py_sitedir}/hippo.so |