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

  ViewVC Help
Powered by ViewVC 1.1.30