]> git.pld-linux.org Git - packages/libgnomecanvas.git/blob - libgnomecanvas.spec
dbe1d79be0fa29820cd8777b88d84c9b053998ff
[packages/libgnomecanvas.git] / libgnomecanvas.spec
1 %define gtk2_version 1.3.12.90
2 %define libart_lgpl_version 2.3.7.91
3 %define libglade2_version 1.99.5.90
4
5 Summary:        GnomeCanvas widget
6 Summary(pl):    Widget GnomeCanvas
7 Name:           libgnomecanvas
8 Version:        1.109.0
9 Release:        1
10 License:        LGPL
11 Group:          X11/Libraries
12 Group(de):      X11/Libraries
13 Group(es):      X11/Bibliotecas
14 Group(fr):      X11/Librairies
15 Group(pl):      X11/Biblioteki
16 Group(pt_BR):   X11/Bibliotecas
17 Group(ru):      X11/âÉÂÌÉÏÔÅËÉ
18 Group(uk):      X11/â¦Â̦ÏÔÅËÉ
19 Source0:        ftp://ftp.gnome.org/pub/gnome/pre-gnome2/sources/libgnomecanvas/%{name}-%{version}.tar.bz2
20 URL:            http://www.gnome.org/
21 BuildRequires:  gtk2-devel >= %{gtk2_version}
22 BuildRequires:  libart_lgpl-devel >= %{libart_lgpl_version}
23 BuildRequires:  libglade2-devel >= %{libglade2_version}
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define         _prefix         /usr/X11R6
27 %define         _mandir         %{_prefix}/man
28
29 %description
30 The canvas widget allows you to create custom displays using stock
31 items such as circles, lines, text, and so on. It was originally a
32 port of the Tk canvas widget but has evolved quite a bit over time.
33
34 %description -l pl
35 Widget canvas pozwala tworzyæ w³asne widoki przy u¿yciu zgromadzonych
36 rzeczy takich jak ko³a, linie, tekst itp. Oryginalnie by³ to port
37 widgetu Tk canvas, ale od tamtego czasu nieco wyewoluowa³.
38
39 %package devel
40 Summary:        libgnomecanvas header files
41 Summary(pl):    Pliki nag³ówkowe libgnomecanvas
42 Group:          X11/Development/Libraries
43 Group(de):      X11/Entwicklung/Libraries
44 Group(es):      X11/Desarrollo/Bibliotecas
45 Group(fr):      X11/Development/Librairies
46 Group(pl):      X11/Programowanie/Biblioteki
47 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
48 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
49 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
50 Requires:       %{name} = %{version}
51 Conflicts:      gnome-libs-devel < 1.4.1.2
52 Requires:       gtk2-devel >= %{gtk2_version}
53 Requires:       libart_lgpl-devel >= %{libart_lgpl_version}
54 Requires:       libglade2-devel >= %{libglade2_version}
55
56 %description devel
57 Development part of libgnomecanvas - header files.
58
59 %description devel -l pl
60 Czê¶æ libgnomecanvas dla programistów - pliki nag³ówkowe.
61
62 %package static
63 Summary:        Static libgnomecanvas library
64 Summary(pl):    Statyczna biblioteka libgnomecanvas
65 Group:          X11/Development/Libraries
66 Group(de):      X11/Entwicklung/Libraries
67 Group(es):      X11/Desarrollo/Bibliotecas
68 Group(fr):      X11/Development/Librairies
69 Group(pl):      X11/Programowanie/Biblioteki
70 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
71 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
72 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
73 Requires:       %{name}-devel = %{version}
74
75 %description static
76 Static version of libgnomecanvas library.
77
78 %description static -l pl
79 Statyczna wersja biblioteki libgnomecanvas.
80
81 %prep
82 %setup -q
83
84 %build
85 %configure
86 %{__make}
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT
93
94 gzip -9nf AUTHORS ChangeLog NEWS README
95
96 %find_lang %{name}
97
98 %clean
99 rm -rf %{buildroot}
100
101 %post   -p /sbin/ldconfig
102 %postun -p /sbin/ldconfig
103
104 %files -f %{name}.lang
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/lib*.so.*.*
107
108 %files devel
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/lib*.so
111 %attr(755,root,root) %{_libdir}/lib*.la
112 %{_pkgconfigdir}/*
113 %{_includedir}/*
114
115 %files static
116 %defattr(644,root,root,755)
117 %{_libdir}/lib*.a
This page took 0.060117 seconds and 3 git commands to generate.