]> git.pld-linux.org Git - packages/gail.git/blob - gail.spec
- updated to 1.20.2
[packages/gail.git] / gail.spec
1 #
2 # Conditional build:
3 %bcond_without  apidocs         # disable gtk-doc
4 #
5 Summary:        Accessibility implementation for GTK+ and GNOME libraries
6 Summary(pl.UTF-8):      Implementacja ułatwiania pracy niepełnosprawnym dla GTK+ i GNOME
7 Name:           gail
8 Version:        1.20.2
9 Release:        1
10 License:        LGPL
11 Group:          Libraries
12 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gail/1.20/%{name}-%{version}.tar.bz2
13 # Source0-md5:  e805806f897cf6040e1f3e9c0cd2151b
14 URL:            http://developer.gnome.org/projects/gap/
15 BuildRequires:  atk-devel >= 1:1.20.0
16 BuildRequires:  autoconf
17 BuildRequires:  automake >= 1.6
18 BuildRequires:  gettext-devel
19 BuildRequires:  gtk+2-devel >= 2:2.12.0
20 %{?with_apidocs:BuildRequires:  gtk-doc >= 1.8}
21 BuildRequires:  gtk-doc-automake >= 1.0
22 BuildRequires:  libtool
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpmbuild(macros) >= 1.197
25 # sr@Latn vs. sr@latin
26 Conflicts:      glibc-misc < 6:2.7
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 GAIL implements the abstract interfaces found in ATK for GTK+ and
31 GNOME libraries, enabling accessibility technologies such as at-spi to
32 access those GUIs.
33
34 %description -l pl.UTF-8
35 GAIL jest implementacją abstrakcyjnych interfejsów z ATK dla bibliotek
36 GTK+ i GNOME, umożliwiającą korzystanie z technik takich jak at-spi,
37 aby ułatwić niepełnosprawnym korzystanie z tych GUI.
38
39 %package devel
40 Summary:        Header files to compile applications that use GAIL
41 Summary(pl.UTF-8):      Pliki nagłówkowe GAIL
42 Group:          X11/Development/Libraries
43 Requires:       %{name} = %{version}-%{release}
44 Requires:       atk-devel >= 1:1.20.0
45 Requires:       gtk+2-devel >= 2:2.12.0
46
47 %description devel
48 gail-devel contains the header files required to compile applications
49 against the GAIL libraries.
50
51 %description devel -l pl.UTF-8
52 Pakiet gail-devel zawiera pliki nagłówkowe potrzebne do kompilowania
53 aplikacji używających bibliotek GAIL.
54
55 %package static
56 Summary:        Static GAIL libraries
57 Summary(pl.UTF-8):      Statyczne biblioteki GAIL
58 Group:          X11/Development/Libraries
59 Requires:       %{name}-devel = %{version}-%{release}
60
61 %description static
62 gail-static contains the static GAIL libraries.
63
64 %description static -l pl.UTF-8
65 Pakiet gail-static zawiera statyczne biblioteki GAIL.
66
67 %package apidocs
68 Summary:        API documentation
69 Summary(pl.UTF-8):      Dokumentacja API
70 Group:          Documentation
71 Requires:       gtk-doc-common
72
73 %description apidocs
74 API documentation.
75
76 %description apidocs -l pl.UTF-8
77 Dokumentacja API.
78
79 %prep
80 %setup -q
81
82 %build
83 %{?with_apidocs:%{__gtkdocize}}
84 %{__libtoolize}
85 %{__aclocal}
86 %{__autoconf}
87 %{__automake}
88 %configure \
89         %{?with_apidocs:--enable-gtk-doc} \
90         --enable-static \
91         --with-html-dir=%{_gtkdocdir}
92 %{__make}
93
94 %install
95 rm -rf $RPM_BUILD_ROOT
96
97 %{__make} install \
98         DESTDIR=$RPM_BUILD_ROOT
99
100 # no static modules and *.la for gtk modules - shut up check-files
101 rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/lib*.{la,a}
102
103 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
104         mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
105 %find_lang %{name}
106
107 %clean
108 rm -rf $RPM_BUILD_ROOT
109
110 %post   -p /sbin/ldconfig
111 %postun -p /sbin/ldconfig
112
113 %files -f %{name}.lang
114 %defattr(644,root,root,755)
115 %doc AUTHORS ChangeLog NEWS README
116 %attr(755,root,root) %{_libdir}/gtk-2.0/modules/libferret.so
117 %attr(755,root,root) %{_libdir}/gtk-2.0/modules/libgail.so
118 %attr(755,root,root) %{_libdir}/libgailutil.so.*.*.*
119
120 %files devel
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_libdir}/libgailutil.so
123 %{_libdir}/libgailutil.la
124 %{_includedir}/gail-1.0
125 %{_pkgconfigdir}/gail.pc
126
127 %files static
128 %defattr(644,root,root,755)
129 %{_libdir}/libgailutil.a
130
131 %if %{with apidocs}
132 %files apidocs
133 %defattr(644,root,root,755)
134 %{_gtkdocdir}/gail-libgail-util
135 %endif
This page took 0.035269 seconds and 3 git commands to generate.