1 Summary: GnomeCanvas widget
2 Summary(pl): Widget GnomeCanvas
8 Source0: ftp://ftp.gnome.org/pub/gnome/pre-gnome2/sources/libgnomecanvas/%{name}-%{version}.tar.bz2
9 Patch0: %{name}-gtk-doc.patch
10 URL: http://www.gnome.org/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: gettext-devel
14 BuildRequires: libart_lgpl-devel >= 2.3.8
15 BuildRequires: libglade2-devel
16 BuildRequires: libtool
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _prefix /usr/X11R6
20 %define _mandir %{_prefix}/man
23 The canvas widget allows you to create custom displays using stock
24 items such as circles, lines, text, and so on. It was originally a
25 port of the Tk canvas widget but has evolved quite a bit over time.
28 Widget canvas pozwala tworzyæ w³asne widoki przy u¿yciu zgromadzonych
29 rzeczy takich jak ko³a, linie, tekst itp. Oryginalnie by³ to port
30 widgetu Tk canvas, ale od tamtego czasu nieco wyewoluowa³.
33 Summary: libgnomecanvas header files
34 Summary(pl): Pliki nag³ówkowe libgnomecanvas
35 Group: X11/Development/Libraries
36 Requires: %{name} = %{version}
39 Development part of libgnomecanvas - header files.
41 %description devel -l pl
42 Czê¶æ libgnomecanvas dla programistów - pliki nag³ówkowe.
45 Summary: Static libgnomecanvas library
46 Summary(pl): Statyczna biblioteka libgnomecanvas
47 Group: X11/Development/Libraries
48 Requires: %{name}-devel = %{version}
51 Static version of libgnomecanvas library.
53 %description static -l pl
54 Statyczna wersja biblioteki libgnomecanvas.
62 libtoolize --copy --force
71 rm -rf $RPM_BUILD_ROOT
74 DESTDIR=$RPM_BUILD_ROOT \
75 pkgconfigdir=%{_pkgconfigdir}
77 %find_lang %{name} --with-gnome --all-name
82 %post -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/lib*.so.*.*
90 %defattr(644,root,root,755)
91 %doc AUTHORS ChangeLog NEWS README
92 %attr(755,root,root) %{_libdir}/lib*.so
93 %attr(755,root,root) %{_libdir}/lib*.la
95 %{_includedir}/libgnomecanvas-2.0
98 %defattr(644,root,root,755)