]> git.pld-linux.org Git - packages/libgnomecanvas.git/blob - libgnomecanvas.spec
- updated to version 2.2.0.1
[packages/libgnomecanvas.git] / libgnomecanvas.spec
1 Summary:        GnomeCanvas widget
2 Summary(pl):    Widget GnomeCanvas
3 Name:           libgnomecanvas
4 Version:        2.2.0.1
5 Release:        1
6 License:        LGPL
7 Group:          X11/Libraries
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/2.2/%{name}-%{version}.tar.bz2
9 URL:            http://www.gnome.org/
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  gettext-devel
13 BuildRequires:  libart_lgpl-devel >= 2.3.10
14 BuildRequires:  libglade2-devel >= 2.0.1
15 BuildRequires:  libtool
16 BuildRequires:  gnome-common
17 BuildRequires:  rpm-build >= 4.1-10
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 The canvas widget allows you to create custom displays using stock
22 items such as circles, lines, text, and so on. It was originally a
23 port of the Tk canvas widget but has evolved quite a bit over time.
24
25 %description -l pl
26 Widget canvas pozwala tworzyæ w³asne widoki przy u¿yciu zgromadzonych
27 rzeczy takich jak ko³a, linie, tekst itp. Oryginalnie by³ to port
28 widgetu Tk canvas, ale od tamtego czasu nieco wyewoluowa³.
29
30 %package devel
31 Summary:        libgnomecanvas header files
32 Summary(pl):    Pliki nag³ówkowe libgnomecanvas
33 Group:          X11/Development/Libraries
34 Requires:       %{name} = %{version}
35 Requires:       gtk-doc-common
36
37 %description devel
38 Development part of libgnomecanvas - header files.
39
40 %description devel -l pl
41 Czê¶æ libgnomecanvas dla programistów - pliki nag³ówkowe.
42
43 %package static
44 Summary:        Static libgnomecanvas library
45 Summary(pl):    Statyczna biblioteka libgnomecanvas
46 Group:          X11/Development/Libraries
47 Requires:       %{name}-devel = %{version}
48
49 %description static
50 Static version of libgnomecanvas library.
51
52 %description static -l pl
53 Statyczna wersja biblioteki libgnomecanvas.
54
55 %prep
56 %setup -q
57
58 %build
59 rm -f missing
60 %{__libtoolize}
61 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
62 %{__autoconf}
63 %{__automake}
64 %configure \
65         --enable-gtk-doc \
66         --with-html-path=%{_gtkdocdir}
67 %{__make}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 %{__make} install \
73         DESTDIR=$RPM_BUILD_ROOT \
74         HTML_DIR=%{_gtkdocdir} \
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 %{_libdir}/libglade/2.0/libcanvas.la
89 %attr(755,root,root) %{_libdir}/libglade/2.0/libcanvas.so
90
91 %files devel
92 %defattr(644,root,root,755)
93 %doc AUTHORS ChangeLog NEWS README
94 %attr(755,root,root) %{_libdir}/lib*.so
95 %{_libdir}/lib*.la
96 %{_pkgconfigdir}/*.pc
97 %{_includedir}/libgnomecanvas-2.0
98 %{_gtkdocdir}/*
99
100 %files static
101 %defattr(644,root,root,755)
102 %{_libdir}/lib*.a
103 %{_libdir}/libglade/2.0/*.a
This page took 0.055841 seconds and 4 git commands to generate.