]> git.pld-linux.org Git - packages/libgnomecanvas.git/blob - libgnomecanvas.spec
3ae42f35082eedeb5c7d5f40ab29fc21b2f5c9b9
[packages/libgnomecanvas.git] / libgnomecanvas.spec
1 Summary:        GnomeCanvas widget
2 Summary(pl):    Widget GnomeCanvas
3 Name:           libgnomecanvas
4 Version:        1.117.0
5 Release:        2
6 License:        LGPL
7 Group:          X11/Libraries
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)
18
19 %define         _prefix         /usr/X11R6
20 %define         _mandir         %{_prefix}/man
21
22 %description
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.
26
27 %description -l pl
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³.
31
32 %package devel
33 Summary:        libgnomecanvas header files
34 Summary(pl):    Pliki nag³ówkowe libgnomecanvas
35 Group:          X11/Development/Libraries
36 Requires:       %{name} = %{version}
37
38 %description devel
39 Development part of libgnomecanvas - header files.
40
41 %description devel -l pl
42 Czê¶æ libgnomecanvas dla programistów - pliki nag³ówkowe.
43
44 %package static
45 Summary:        Static libgnomecanvas library
46 Summary(pl):    Statyczna biblioteka libgnomecanvas
47 Group:          X11/Development/Libraries
48 Requires:       %{name}-devel = %{version}
49
50 %description static
51 Static version of libgnomecanvas library.
52
53 %description static -l pl
54 Statyczna wersja biblioteki libgnomecanvas.
55
56 %prep
57 %setup -q
58 %patch0 -p1
59
60 %build
61 rm -f missing
62 libtoolize --copy --force
63 aclocal
64 %{__autoconf}
65 %{__automake}
66 %configure \
67         --enable-gtk-doc=no
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT \
75         pkgconfigdir=%{_pkgconfigdir}
76
77 %find_lang %{name} --with-gnome --all-name
78
79 %clean
80 rm -rf %{buildroot}
81
82 %post   -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
84
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/lib*.so.*.*
88
89 %files devel
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
94 %{_pkgconfigdir}/*.pc
95 %{_includedir}/libgnomecanvas-2.0
96
97 %files static
98 %defattr(644,root,root,755)
99 %{_libdir}/lib*.a
This page took 0.080694 seconds and 3 git commands to generate.