]> git.pld-linux.org Git - packages/atk.git/blob - atk.spec
4b2aeb3f15be7cde5f22ef7ce5f83b33e684aa46
[packages/atk.git] / atk.spec
1 Summary:        ATK - Accessibility Toolkit
2 Summary(pl):    ATK - Toolkit udostêpniaj±cy
3 Name:           atk
4 Version:        1.0.0
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 Source0:        ftp://ftp.gtk.org/pub/gtk/v2.0/%{name}-%{version}.tar.bz2
9 URL:            http://developer.gnome.org/projects/gap/
10 BuildRequires:  diffutils
11 BuildRequires:  glib2-devel >= 2.0.0
12 BuildRequires:  pango-devel >= 1.0.0
13 BuildRequires:  pkgconfig
14 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Obsoletes:      libatk8
16
17 %define         _prefix         /usr/X11R6
18 %define         _mandir         %{_prefix}/man
19
20 %description
21 Handy library of accessibility functions.
22
23 %description -l pl
24 Podrêczna biblioteka funkcji udostêpniaj±cych.
25
26 %package devel
27 Summary:        ATK - header and development documentation
28 Summary(pl):    Pliki nag³ówkowe i dokumentacja
29 Group:          Development/Libraries
30 Requires:       %{name} = %{version}
31 Requires:       glib2-devel
32 Obsoletes:      libatk8-devel
33
34 %description devel
35 ATK - header and development documentation.
36
37 %description devel -l pl
38 ATK - pliki nag³ówkowe i dokumentacja programisty.
39
40 %package static
41 Summary:        ATK static library
42 Summary(pl):    Biblioteka statyczna ATK
43 Group:          Development/Libraries
44 Requires:       %{name}-devel = %{version}
45
46 %description static
47 ATK static library.
48
49 %description static -l pl
50 Biblioteka statyczna ATK.
51
52 %prep
53 %setup -q
54
55 %build
56 %configure \
57         --enable-static \
58         --enable-shared \
59         --disable-gtk-doc
60
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT \
68         pkgconfigdir=%{_pkgconfigdir}
69
70 gzip -9nf AUTHORS ChangeLog NEWS README
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %files
79 %defattr(644,root,root,755)
80 %doc *.gz
81 %attr(755,root,root) %{_libdir}/lib*.so.*.*
82
83 %files devel
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_libdir}/liba*.??
86 %{_includedir}/atk*
87 %{_pkgconfigdir}/atk*
88 %{_datadir}/gtk-doc/html/atk
89
90 %files static
91 %defattr(644,root,root,755)
92 %attr(644,root,root) %{_libdir}/liba*.a
This page took 0.062687 seconds and 2 git commands to generate.