]> git.pld-linux.org Git - packages/libgnomecanvas.git/blame - libgnomecanvas.spec
- converted to UTF-8
[packages/libgnomecanvas.git] / libgnomecanvas.spec
CommitLineData
1836acd7
JB
1#
2# Conditional build:
faf49bbd 3%bcond_without apidocs # disable gtk-doc
1836acd7 4#
e9ded783 5Summary: GnomeCanvas widget
ec6eebc3 6Summary(pl.UTF-8): Widget GnomeCanvas
e9ded783 7Name: libgnomecanvas
faf49bbd 8Version: 2.14.0
d8db9c55 9Release: 5
e9ded783 10License: LGPL
11Group: X11/Libraries
faf49bbd 12Source0: http://ftp.gnome.org/pub/gnome/sources/libgnomecanvas/2.14/%{name}-%{version}.tar.bz2
13# Source0-md5: 516c46fb4a1401b05cfef58c350fbd3d
e9ded783 14URL: http://www.gnome.org/
f30d307c 15BuildRequires: autoconf >= 2.54
b8c06266 16BuildRequires: automake
a0817ed9 17BuildRequires: gettext-devel
ad938901 18BuildRequires: gnome-common >= 2.8.0
e1a80977 19BuildRequires: gtk+2-devel >= 2:2.10.0
20%{?with_apidocs:BuildRequires: gtk-doc >= 1.6}
4b4e065d 21BuildRequires: gtk-doc-automake >= 1.3
15a5aace 22BuildRequires: libart_lgpl-devel >= 2.3.14
e1a80977 23BuildRequires: libglade2-devel >= 1:2.6.0
b8c06266 24BuildRequires: libtool
9114798b 25BuildRequires: perl-base >= 5.002
45a7c059 26BuildRequires: pkgconfig
869cb35f 27BuildRequires: rpmbuild(macros) >= 1.197
e9ded783 28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
af3bccf4 30%description
e9ded783 31The canvas widget allows you to create custom displays using stock
32items such as circles, lines, text, and so on. It was originally a
33port of the Tk canvas widget but has evolved quite a bit over time.
af3bccf4 34
ec6eebc3
JR
35%description -l pl.UTF-8
36Widget canvas pozwala tworzyć własne widoki przy użyciu zgromadzonych
37rzeczy takich jak koła, linie, tekst itp. Oryginalnie był to port
38widgetu Tk canvas, ale od tamtego czasu nieco wyewoluował.
f843afd5 39
af3bccf4 40%package devel
f843afd5 41Summary: libgnomecanvas header files
ec6eebc3 42Summary(pl.UTF-8): Pliki nagłówkowe libgnomecanvas
f843afd5 43Group: X11/Development/Libraries
9114798b 44Requires: %{name} = %{version}-%{release}
e1a80977 45Requires: gtk+2-devel >= 2:2.10.0
853e1ce1 46Requires: gtk-doc-common
7954de19 47Requires: libart_lgpl-devel >= 2.3.14
e1a80977 48Requires: libglade2-devel >= 1:2.6.0
af3bccf4 49
50%description devel
f843afd5
JB
51Development part of libgnomecanvas - header files.
52
ec6eebc3
JR
53%description devel -l pl.UTF-8
54Część libgnomecanvas dla programistów - pliki nagłówkowe.
f843afd5
JB
55
56%package static
57Summary: Static libgnomecanvas library
ec6eebc3 58Summary(pl.UTF-8): Statyczna biblioteka libgnomecanvas
f843afd5 59Group: X11/Development/Libraries
9114798b 60Requires: %{name}-devel = %{version}-%{release}
f843afd5
JB
61
62%description static
63Static version of libgnomecanvas library.
64
ec6eebc3 65%description static -l pl.UTF-8
f843afd5 66Statyczna wersja biblioteki libgnomecanvas.
af3bccf4 67
68%prep
69%setup -q
70
71%build
3d5ecfe8 72%{__gtkdocize}
df063c93 73%{__libtoolize}
ad938901 74%{__aclocal}
b8c06266 75%{__autoconf}
76%{__automake}
c8002b4a 77%configure \
4b4e065d 78 %{?with_apidocs:--enable-gtk-doc} \
44547bbc 79 --with-html-dir=%{_gtkdocdir}
e9ded783 80%{__make}
af3bccf4 81
82%install
e9ded783 83rm -rf $RPM_BUILD_ROOT
af3bccf4 84
e9ded783 85%{__make} install \
f63d32b5 86 DESTDIR=$RPM_BUILD_ROOT
af3bccf4 87
f96133dc
JB
88# no static modules and *.la for glade modules
89rm -f $RPM_BUILD_ROOT%{_libdir}/libglade/2.0/*.{la,a}
c79302b0 90
a8188491 91rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
92
a0817ed9 93%find_lang %{name} --with-gnome --all-name
94
e9ded783 95%clean
c79302b0 96rm -rf $RPM_BUILD_ROOT
af3bccf4 97
ea2bf5bc 98%post -p /sbin/ldconfig
99%postun -p /sbin/ldconfig
f843afd5 100
a0817ed9 101%files -f %{name}.lang
e9ded783 102%defattr(644,root,root,755)
c79302b0 103%doc AUTHORS ChangeLog NEWS README
e9ded783 104%attr(755,root,root) %{_libdir}/lib*.so.*.*
24a7b3ca 105%attr(755,root,root) %{_libdir}/libglade/2.0/libcanvas.so
af3bccf4 106
107%files devel
e9ded783 108%defattr(644,root,root,755)
109%attr(755,root,root) %{_libdir}/lib*.so
a1353232 110%{_libdir}/lib*.la
1836acd7 111%{_includedir}/libgnomecanvas-2.0
c8002b4a 112%{_pkgconfigdir}/*.pc
1836acd7 113%{_gtkdocdir}/*
af3bccf4 114
e9ded783 115%files static
116%defattr(644,root,root,755)
117%{_libdir}/lib*.a
This page took 0.120536 seconds and 4 git commands to generate.