]> git.pld-linux.org Git - packages/libgnomecanvas.git/blob - libgnomecanvas.spec
This commit was manufactured by cvs2git to create branch 'GNOME_2_2'.
[packages/libgnomecanvas.git] / libgnomecanvas.spec
1 Summary:        GnomeCanvas widget
2 Summary(pl):    Widget GnomeCanvas
3 Name:           libgnomecanvas
4 Version:        2.2.0.2
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:  gtk-doc
14 BuildRequires:  libart_lgpl-devel >= 2.3.10
15 BuildRequires:  libglade2-devel >= 2.0.1
16 BuildRequires:  libtool
17 BuildRequires:  gnome-common
18 BuildRequires:  rpm-build >= 4.1-10
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 The canvas widget allows you to create custom displays using stock
23 items such as circles, lines, text, and so on. It was originally a
24 port of the Tk canvas widget but has evolved quite a bit over time.
25
26 %description -l pl
27 Widget canvas pozwala tworzyæ w³asne widoki przy u¿yciu zgromadzonych
28 rzeczy takich jak ko³a, linie, tekst itp. Oryginalnie by³ to port
29 widgetu Tk canvas, ale od tamtego czasu nieco wyewoluowa³.
30
31 %package devel
32 Summary:        libgnomecanvas header files
33 Summary(pl):    Pliki nag³ówkowe libgnomecanvas
34 Group:          X11/Development/Libraries
35 Requires:       %{name} = %{version}
36 Requires:       gtk-doc-common
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
59 %build
60 rm -f missing
61 %{__libtoolize}
62 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
63 %{__autoconf}
64 %{__automake}
65 %configure \
66         --enable-gtk-doc \
67         --with-html-path=%{_gtkdocdir}
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT \
75         HTML_DIR=%{_gtkdocdir} \
76         pkgconfigdir=%{_pkgconfigdir}
77
78 %find_lang %{name} --with-gnome --all-name
79
80 %clean
81 rm -rf %{buildroot}
82
83 %post   -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
85
86 %files -f %{name}.lang
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/lib*.so.*.*
89 %{_libdir}/libglade/2.0/libcanvas.la
90 %attr(755,root,root) %{_libdir}/libglade/2.0/libcanvas.so
91
92 %files devel
93 %defattr(644,root,root,755)
94 %doc AUTHORS ChangeLog NEWS README
95 %attr(755,root,root) %{_libdir}/lib*.so
96 %{_libdir}/lib*.la
97 %{_pkgconfigdir}/*.pc
98 %{_includedir}/libgnomecanvas-2.0
99 %{_gtkdocdir}/*
100
101 %files static
102 %defattr(644,root,root,755)
103 %{_libdir}/lib*.a
104 %{_libdir}/libglade/2.0/*.a
This page took 0.123092 seconds and 3 git commands to generate.