]> git.pld-linux.org Git - packages/gail.git/blob - gail.spec
- up to version 1.6.4
[packages/gail.git] / gail.spec
1 Summary:        Accessibility implementation for GTK+ and GNOME libraries
2 Summary(pl):    Implementacja u³atwiania pracy niepe³nosprawnym dla GTK+ i GNOME
3 Name:           gail
4 Version:        1.6.4
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/1.6/%{name}-%{version}.tar.bz2
9 # Source0-md5:  e02901abab35bcfe0266b60ee68c9f6a
10 Patch0:         %{name}-locale-names.patch
11 URL:            http://developer.gnome.org/projects/gap/
12 BuildRequires:  atk-devel >= 1.6.0
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  gtk+2-devel >= 2:2.4.1
16 BuildRequires:  gtk-doc >= 1.0
17 BuildRequires:  libgnomecanvas-devel >= 2.6.1
18 BuildRequires:  libtool
19 BuildRequires:  pkgconfig
20 BuildRequires:  rpm-build >= 4.1-10
21 Requires:       atk >= 1.6.0
22 Requires:       gtk+2 >= 2:2.4.1
23 Requires:       libgnomecanvas >= 2.6.1
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 GAIL implements the abstract interfaces found in ATK for GTK+ and
28 GNOME libraries, enabling accessibility technologies such as at-spi to
29 access those GUIs.
30
31 %description -l pl
32 GAIL jest implementacj± abstrakcyjnych interfejsów z ATK dla bibliotek
33 GTK+ i GNOME, umo¿liwiaj±c± korzystanie z technik takich jak at-spi,
34 aby u³atwiæ niepe³nosprawnym korzystanie z tych GUI.
35
36 %package devel
37 Summary:        Header files to compile applications that use GAIL
38 Summary(pl):    Pliki nag³ówkowe GAIL
39 Group:          X11/Development/Libraries
40 Requires:       %{name} = %{version}-%{release}
41 Requires:       atk-devel >= 1.6.0
42 Requires:       gtk+2-devel >= 2:2.4.1
43 Requires:       libgnomecanvas-devel >= 2.6.1
44
45 %description devel
46 gail-devel contains the header files required to compile applications
47 against the GAIL libraries.
48
49 %description devel -l pl
50 Pakiet gail-devel zawiera pliki nag³ówkowe potrzebne do kompilowania
51 aplikacji u¿ywaj±cych bibliotek GAIL.
52
53 %package static
54 Summary:        Static GAIL libraries
55 Summary(pl):    Statyczne biblioteki GAIL
56 Group:          X11/Development/Libraries
57 Requires:       %{name}-devel = %{version}-%{release}
58
59 %description static
60 gail-static contains the static GAIL libraries.
61
62 %description static -l pl
63 Pakiet gail-static zawiera statyczne biblioteki GAIL.
64
65 %prep
66 %setup -q
67 %patch0 -p1
68
69 mv po/{no,nb}.po
70
71 %build
72 %{__libtoolize}
73 %{__aclocal}
74 %{__autoconf}
75 %{__automake}
76 %configure \
77         --enable-gtk-doc \
78         --enable-static \
79         --with-html-dir=%{_gtkdocdir}
80
81 %{__make}
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT
88
89 # no static modules and *.la for gtk modules - shut up check-files
90 rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/lib*.{la,a}
91
92 %find_lang %{name}
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %post   -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
99
100 %files -f %{name}.lang
101 %defattr(644,root,root,755)
102 %doc AUTHORS ChangeLog NEWS README
103 %attr(755,root,root) %{_libdir}/lib*.so.*.*
104 %attr(755,root,root) %{_libdir}/gtk-2.0/modules/lib*.so
105
106 %files devel
107 %defattr(644,root,root,755)
108 %attr(755,root,root) %{_libdir}/lib*.so
109 %{_libdir}/lib*.la
110 %{_includedir}/gail-1.0
111 %{_pkgconfigdir}/*.pc
112 %{_gtkdocdir}/*
113
114 %files static
115 %defattr(644,root,root,755)
116 %{_libdir}/*.a
This page took 0.032991 seconds and 3 git commands to generate.