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