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