]> git.pld-linux.org Git - packages/libgnomecanvas.git/blob - libgnomecanvas.spec
- updated to 1.114.0
[packages/libgnomecanvas.git] / libgnomecanvas.spec
1 Summary:        GnomeCanvas widget
2 Summary(pl):    Widget GnomeCanvas
3 Name:           libgnomecanvas
4 Version:        1.114.0
5 Release:        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 >= 2.0.0
11 BuildRequires:  libart_lgpl-devel >= 2.3.8
12 BuildRequires:  libglade2-devel >= 1.99.9
13 BuildRequires:  pango-devel >= 1.0.0
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 Conflicts:      gnome-libs-devel < 1.4.1.2
35 Requires:       gtk2-devel >= %{gtk2_version}
36 Requires:       libart_lgpl-devel >= %{libart_lgpl_version}
37 Requires:       libglade2-devel >= %{libglade2_version}
38
39 %description devel
40 Development part of libgnomecanvas - header files.
41
42 %description devel -l pl
43 Czê¶æ libgnomecanvas dla programistów - pliki nag³ówkowe.
44
45 %package static
46 Summary:        Static libgnomecanvas library
47 Summary(pl):    Statyczna biblioteka libgnomecanvas
48 Group:          X11/Development/Libraries
49 Requires:       %{name}-devel = %{version}
50
51 %description static
52 Static version of libgnomecanvas library.
53
54 %description static -l pl
55 Statyczna wersja biblioteki libgnomecanvas.
56
57 %prep
58 %setup -q
59
60 %build
61 %configure \
62         --enable-gtk-doc=no
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT \
70         pkgconfigdir=%{_pkgconfigdir}
71
72 gzip -9nf AUTHORS ChangeLog NEWS README
73
74 %find_lang %{name} --with-gnome --all-name
75
76 %clean
77 rm -rf %{buildroot}
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/lib*.so.*.*
85
86 %files devel
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/lib*.so
89 %attr(755,root,root) %{_libdir}/lib*.la
90 %{_pkgconfigdir}/*.pc
91 %{_includedir}/libgnomecanvas-2.0
92 %{_datadir}/gtk-doc/html/%{name}
93
94 %files static
95 %defattr(644,root,root,755)
96 %{_libdir}/lib*.a
This page took 0.081093 seconds and 4 git commands to generate.