]> git.pld-linux.org Git - packages/crossmingw32-atk.git/blame - crossmingw32-atk.spec
- make -j1 install
[packages/crossmingw32-atk.git] / crossmingw32-atk.spec
CommitLineData
7412a699 1%define _realname atk
2Summary: ATK - Accessibility Toolkit - cross Mingw32 version
e3f62589 3Summary(pl.UTF-8): ATK - biblioteka ułatwiająca niepełnosprawnym korzystanie z komputerów - wersja skrośna dla Mingw32
7412a699 4Name: crossmingw32-%{_realname}
720fa6f9 5Version: 1.20.0
7412a699 6Release: 1
7License: LGPL v2+
5a48950d 8Group: Development/Libraries
720fa6f9
JB
9Source0: http://ftp.gnome.org/pub/GNOME/sources/atk/1.20/%{_realname}-%{version}.tar.bz2
10# Source0-md5: b1a9e28d9f54ea306bd85a4c84b25fb8
7412a699 11URL: http://developer.gnome.org/projects/gap/
12BuildRequires: autoconf >= 2.54
13BuildRequires: automake
5a48950d 14BuildRequires: crossmingw32-gcc
720fa6f9 15BuildRequires: crossmingw32-glib2 >= 2.14.1
7412a699 16BuildRequires: libtool >= 2:1.5.16
17BuildRequires: perl-base
b5e017bc 18BuildRequires: pkgconfig >= 1:0.15
7412a699 19BuildRequires: rpmbuild(macros) >= 1.197
720fa6f9 20Requires: crossmingw32-glib2 >= 2.14.1
7412a699 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%define no_install_post_strip 1
24
25%define target i386-mingw32
26%define target_platform i386-pc-mingw32
7412a699 27
28%define _sysprefix /usr
29%define _prefix %{_sysprefix}/%{target}
30%define _pkgconfigdir %{_prefix}/lib/pkgconfig
5a48950d 31%define _dlldir /usr/share/wine/windows/system
7412a699 32%define __cc %{target}-gcc
33%define __cxx %{target}-g++
34
35%description
36The ATK library provides a set of interfaces for adding accessibility
37support to applications and graphical user interface toolkits. By
38supporting the ATK interfaces, an application or toolkit can be used
39as tools such as screen readers and magnifiers, and alternative input
40devices.
41
5a48950d
JB
42This package contains the cross version for Win32.
43
7412a699 44%description -l pl.UTF-8
45Biblioteka ATK udostępnia zestaw interfejsów ułatwiających
46niepełnosprawnym korzystanie z aplikacji i poszczególnych elementów
47graficznego interfejsu użytkownika. Poprzez wykorzystanie
48interfejsów ATK, aplikacja lub element interfejsu może być używany
49z takimi narzędziami jak czytniki ekranu i narzędzia powiększające
50oraz alternatywnymi urządzeniami wejściowymi.
51
5a48950d
JB
52Ten pakiet zawiera wersję skrośną dla Win32.
53
54%package static
55Summary: Static atk library (cross mingw32 version)
56Summary(pl.UTF-8): Statyczna biblioteka atk (wersja skrośna mingw32)
57Group: Development/Libraries
58Requires: %{name} = %{version}-%{release}
59
60%description static
61Static atk library (cross mingw32 version).
62
63%description static -l pl.UTF-8
64Statyczna biblioteka atk (wersja skrośna mingw32).
65
66%package dll
67Summary: DLL atk library for Windows
68Summary(pl.UTF-8): Biblioteka DLL atk dla Windows
69Group: Applications/Emulators
720fa6f9 70Requires: crossmingw32-glib2-dll >= 2.14.1
5a48950d
JB
71Requires: wine
72
73%description dll
74DLL atk library for Windows.
75
76%description dll -l pl.UTF-8
77Biblioteka DLL atk dla Windows.
7412a699 78
79%prep
80%setup -q -n %{_realname}-%{version}
81
82%build
b5e017bc 83export PKG_CONFIG_LIBDIR=%{_prefix}/lib/pkgconfig
7412a699 84%{__libtoolize}
85%{__aclocal}
86%{__autoconf}
87%{__autoheader}
88%{__automake}
89%configure \
7412a699 90 --target=%{target} \
bedcf096 91 --host=%{target} \
92 --disable-gtk-doc \
93 --enable-static
7412a699 94
95%{__make}
96
97%install
98rm -rf $RPM_BUILD_ROOT
99
f8b559df 100%{__make} -j1 install \
7412a699 101 DESTDIR=$RPM_BUILD_ROOT
102
5a48950d
JB
103install -d $RPM_BUILD_ROOT%{_dlldir}
104mv -f $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
105
106%if 0%{!?debug:1}
107%{target}-strip --strip-unneeded -R.comment -R.note $RPM_BUILD_ROOT%{_dlldir}/*.dll
108%{target}-strip -g -R.comment -R.note $RPM_BUILD_ROOT%{_libdir}/*.a
109%endif
110
111rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc
112# runtime
113rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
7412a699 114
115%clean
116rm -rf $RPM_BUILD_ROOT
117
5a48950d 118%files
7412a699 119%defattr(644,root,root,755)
120%doc AUTHORS NEWS README
5a48950d
JB
121%{_libdir}/libatk-1.0.dll.a
122%{_libdir}/libatk-1.0.la
123%{_libdir}/atk-1.0.def
124%{_includedir}/atk-1.0
7412a699 125%{_pkgconfigdir}/atk*
5a48950d
JB
126
127%files static
128%defattr(644,root,root,755)
129%{_libdir}/libatk-1.0.a
130
131%files dll
132%defattr(644,root,root,755)
133%{_dlldir}/libatk-1.0-*.dll
This page took 0.277608 seconds and 4 git commands to generate.