]> git.pld-linux.org Git - packages/libgnomecanvas.git/blob - libgnomecanvas.spec
27fcb55eb2a411782d62d0dda1fc40aba4f63f05
[packages/libgnomecanvas.git] / libgnomecanvas.spec
1 Summary:        GnomeCanvas widget
2 Summary(pl):    Widget GnomeCanvas
3 Name:           libgnomecanvas
4 Version:        1.117.0
5 Release:        0.1
6 License:        LGPL
7 Group:          X11/Libraries
8 Source0:        ftp://ftp.gnome.org/pub/gnome/pre-gnome2/sources/libgnomecanvas/%{name}-%{version}.tar.bz2
9 URL:            http://www.gnome.org/
10 BuildRequires:  gtk+2-devel
11 BuildRequires:  libart_lgpl-devel
12 BuildRequires:  libglade2-devel
13 BuildRequires:  pango-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _prefix         /usr/X11R6
17 %define         _mandir         %{_prefix}/man
18
19 %description
20 The canvas widget allows you to create custom displays using stock
21 items such as circles, lines, text, and so on. It was originally a
22 port of the Tk canvas widget but has evolved quite a bit over time.
23
24 %description -l pl
25 Widget canvas pozwala tworzyæ w³asne widoki przy u¿yciu zgromadzonych
26 rzeczy takich jak ko³a, linie, tekst itp. Oryginalnie by³ to port
27 widgetu Tk canvas, ale od tamtego czasu nieco wyewoluowa³.
28
29 %package devel
30 Summary:        libgnomecanvas header files
31 Summary(pl):    Pliki nag³ówkowe libgnomecanvas
32 Group:          X11/Development/Libraries
33 Requires:       %{name} = %{version}
34
35 %description devel
36 Development part of libgnomecanvas - header files.
37
38 %description devel -l pl
39 Czê¶æ libgnomecanvas dla programistów - pliki nag³ówkowe.
40
41 %package static
42 Summary:        Static libgnomecanvas library
43 Summary(pl):    Statyczna biblioteka libgnomecanvas
44 Group:          X11/Development/Libraries
45 Requires:       %{name}-devel = %{version}
46
47 %description static
48 Static version of libgnomecanvas library.
49
50 %description static -l pl
51 Statyczna wersja biblioteki libgnomecanvas.
52
53 %prep
54 %setup -q
55
56 %build
57 %configure \
58         --enable-gtk-doc=no
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT \
66         pkgconfigdir=%{_pkgconfigdir}
67
68 gzip -9nf AUTHORS ChangeLog NEWS README
69
70 %find_lang %{name} --with-gnome --all-name
71
72 %clean
73 rm -rf %{buildroot}
74
75 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_libdir}/lib*.so.*.*
81 %attr(755,root,root) %{_libdir}/libglade/2.0/*.??
82
83 %files devel
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_libdir}/lib*.so
86 %attr(755,root,root) %{_libdir}/lib*.la
87 %{_pkgconfigdir}/*.pc
88 %{_includedir}/libgnomecanvas-2.0
89 %{_datadir}/gtk-doc/html/%{name}
90
91 %files static
92 %defattr(644,root,root,755)
93 %{_libdir}/lib*.a
This page took 0.111238 seconds and 3 git commands to generate.