/[packages]/cauldron/atk1.0/current/SPECS/atk1.0.spec
ViewVC logotype

Contents of /cauldron/atk1.0/current/SPECS/atk1.0.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5718 - (show annotations) (download)
Tue Jan 11 01:21:08 2011 UTC (13 years, 3 months ago) by blino
File size: 3522 byte(s)
remove old conflicts/obsoletes and ldconfig scriptlets

1 # enable_gtkdoc: Toggle if gtkdoc stuff should be rebuilt
2 # 0 = no
3 # 1 = yes
4 %define enable_gtkdoc 0
5
6 %define api_version 1.0
7 %define lib_major 0
8 %define pkgname atk
9
10 # Version of glib needed
11 %define req_glib2_version 2.5.7
12
13 %define lib_name %mklibname %{name}_ %{lib_major}
14 %define develname %mklibname -d %{name}
15
16 Name: %{pkgname}%{api_version}
17 Version: 1.32.0
18 Release: %mkrel 2
19 Summary: Accessibility features for Gtk+
20 License: LGPLv2+
21 Group: Accessibility
22 Url: http://developer.gnome.org/projects/gap/
23 Source0: http://ftp.gnome.org/pub/GNOME/sources/%pkgname/%pkgname-%version.tar.bz2
24 Buildroot: %_tmppath/%name-%{version}-root
25 BuildRequires: libglib2-devel >= %{req_glib2_version}
26 %if %enable_gtkdoc
27 BuildRequires: gtk-doc
28 %endif
29 BuildRequires: gobject-introspection-devel
30
31
32 %description
33 Accessibility means providing system infrastructure that allows add-on
34 assistive software to transparently provide specalized input and ouput
35 capabilities. For example, screen readers allow blind users to navigate
36 through applications, determine the state of controls, and read text via
37 text to speech conversion. On-screen keyboards replace physical
38 keyboards, and head-mounted pointers replace mice.
39
40 ATK, the Accessibility Tookit, is used to obtain accessibily information
41 from GTK+ and GNOME widgets.
42
43 %package common
44 Summary: Data files used by atk
45 Group: System/Libraries
46
47 %description common
48 ATK, the Accessibility Tookit, is used to obtain accessibily information
49 from GTK+ and GNOME widgets.
50
51 This package contains data used by atk library.
52
53 %package -n %{lib_name}
54 Summary: Accessibility features for Gtk+
55 Group: System/Libraries
56 Requires: common-licenses
57 Obsoletes: %{pkgname} lib%{pkgname}
58 Provides: %{pkgname} = %{version}-%{release}
59 Provides: lib%{pkgname} = %{version}-%{release}
60 Provides: lib%{name} = %{version}-%{release}
61 Requires: %{name}-common >= %{version}-%{release}
62
63 %description -n %{lib_name}
64 Accessibility means providing system infrastructure that allows add-on
65 assistive software to transparently provide specalized input and ouput
66 capabilities. For example, screen readers allow blind users to navigate
67 through applications, determine the state of controls, and read text via
68 text to speech conversion. On-screen keyboards replace physical
69 keyboards, and head-mounted pointers replace mice.
70
71 %package -n %{develname}
72 Summary: Stuff for developing with atk
73 Group: Development/C
74 Obsoletes: %{pkgname}-devel lib%{pkgname}-devel
75 Provides: %{pkgname}-devel = %{version}-%{release}
76 Provides: lib%{pkgname}-devel = %{version}-%{release}
77 Provides: lib%{name}-devel = %{version}-%{release}
78 Requires: %{lib_name} = %{version}
79 Requires: libglib2.0-devel >= %{req_glib2_version}
80
81 %description -n %develname
82 ATK, the Accessibility Tookit, is used to obtain accessibily information
83 from GTK+ and GNOME widgets.
84
85 %prep
86 %setup -q -n %{pkgname}-%{version}
87
88 %build
89
90 %configure2_5x \
91 --enable-static \
92 %if %enable_gtkdoc
93 --enable-gtk-doc
94 %endif
95
96 %make
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100 %makeinstall_std
101
102 %{find_lang} %{pkgname}10
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %files common -f %{pkgname}10.lang
108 %defattr(-,root,root)
109 %doc README
110
111 %files -n %{lib_name}
112 %defattr(-,root,root)
113 %{_libdir}/libatk-%{api_version}.so.%{lib_major}*
114 %_libdir/girepository-1.0/Atk-%{api_version}.typelib
115
116 %files -n %develname
117 %defattr(-,root,root)
118 %doc AUTHORS ChangeLog NEWS
119 %doc %{_datadir}/gtk-doc/html/*
120 %{_includedir}/*
121 %{_libdir}/*.so
122 %{_libdir}/*.a
123 %{_libdir}/*.la
124 %{_libdir}/pkgconfig/*
125 %_datadir/gir-1.0/Atk-%{api_version}.gir
126
127

  ViewVC Help
Powered by ViewVC 1.1.30