-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathatk.spec
127 lines (95 loc) · 3.46 KB
/
atk.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
%define majorv 1.26
%define minorv 0
Name: atk
Version: %{majorv}.%{minorv}
Release: 1
Group: System Environment/Libraries
License: GPL
URL: http://library.gnome.org/devel/atk
Source: ftp://ftp.gnome.org/pub/GNOME/sources/atk/%{majorv}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: glib2-devel
Summary: Interfaces for accessibility support
%description
The ATK library provides a set of interfaces for adding
accessibility support to applications and graphical user
interface toolkits. By aupporting the ATK interface, an
application or toolkit can be used with tools such as
screen readers, magnifiers, and alternative input devices.
%package devel
Group: System Environment/Libraries
Requires: atk = %{version}-%{release}
Requires: glib2-devel
Summary: atk development files
%description devel
This package contains files needed for building applications that use atk.
%package doc
Group: System Environment/Libraries
Summary: atk development files
Requires: atk-devel = %{version}-%{release}
Summary: Extra documentation for atk
%description doc
This package contains the gtk-doc documentation for atk.
%prep
%setup -q -n %{name}-%{version}
%{__sed} -i '/gtkdoc-rebase/d' docs/Makefile.in
%build
PATH="/opt/SUNWspro/bin:/usr/ccs/bin:${PATH}"
CC="cc" CXX="CC" CPPFLAGS="-I/usr/local/include"
LDFLAGS="-L/usr/local/lib -R/usr/local/lib"
export PATH CC CXX CPPFLAGS LDFLAGS
# --disable-gtk-doc just copies over existing documentation files, instead of creating new ones
./configure \
--prefix=%{_prefix} \
--disable-nls \
--disable-rebuilds \
--disable-gtk-doc
gmake -j3
%install
rm -rf %{buildroot}
gmake install DESTDIR=%{buildroot}
rm %{buildroot}%{_libdir}/*.la
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc README COPYING AUTHORS
%doc MAINTAINERS NEWS ChangeLog
%{_libdir}/*.so.*
%{_datadir}/locale/*/LC_MESSAGES/*
%files devel
%defattr(-, root, root)
%{_includedir}/atk-*/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/atk.pc
%files doc
%defattr(-, root, root)
%doc %{_datadir}/gtk-doc/*
%changelog
* Fri Jul 17 2009 Brian Schubert <[email protected]> - 1.26.0-1
- Updated to version 1.26.0
- Moved .so symlink to devel package
* Wed Nov 19 2008 Brian Schubert <[email protected]> - 1.24.0-1
- Fixed doc permissions and updated to version 1.24.0
* Tue Sep 02 2008 Brian Schubert <[email protected]> - 1.23.5-1
- Added some docs and updated to latest version
* Tue Jan 08 2008 David Diffenbaugh <[email protected]> - 1.20.0-1
- Updated to latest version
* Wed Aug 22 2007 David Lee Halik <[email protected]> - 1.19.6-1
- Bump to 1.19.6
* Wed Jul 11 2007 David Lee Halik <[email protected]> - 1.19.3
- Updated to 1.19.3
* Mon May 15 2006 Leo Zhadanovsky <[email protected]> - 1.11.4
- Updated to latest version
* Tue Feb 28 2006 Leo Zhadanovsky <[email protected]> - 1.9.0-5
- Fixed library linking problem
* Tue Feb 21 2006 Leo Zhadanovsky <[email protected]> - 1.9.0-5
- Built on top of latest version of glib2
* Wed Jun 22 2005 Jonathan Kaczynski <[email protected]> - 1.9.0-4
- switched back to gcc; see glib2.spec for reason
* Mon Jun 06 2005 Jonathan Kaczynski <[email protected]> - 1.9.0-3
- changed gcc to cc
* Wed May 25 2005 Jonathan Kaczynski <[email protected]> - 1.9.0-2
- Made a few tweaks to the spec file
* Tue May 24 2005 Jonathan Kaczynski <[email protected]> - 1.9.0-1
- Upgraded to latest release