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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5716 - (hide annotations) (download)
Tue Jan 11 01:19:09 2011 UTC (13 years, 3 months ago) by blino
File size: 3968 byte(s)
imported package atk1.0
1 blino 5716 # 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 1
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 >= 1.11-3mdv
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     Conflicts: %{_lib}atk1.0_0 < 1.13.1-2mdv
47     # 64bit atk1.0-common conflicts with old 32bit lib as well -Anssi
48     Conflicts: libatk1.0_0 < 1.13.1-2mdv
49    
50     %description common
51     ATK, the Accessibility Tookit, is used to obtain accessibily information
52     from GTK+ and GNOME widgets.
53    
54     This package contains data used by atk library.
55    
56     %package -n %{lib_name}
57     Summary: Accessibility features for Gtk+
58     Group: System/Libraries
59     Requires: common-licenses
60     Obsoletes: %{pkgname} lib%{pkgname}
61     Provides: %{pkgname} = %{version}-%{release}
62     Provides: lib%{pkgname} = %{version}-%{release}
63     Provides: lib%{name} = %{version}-%{release}
64     Requires: %{name}-common >= %{version}-%{release}
65     Conflicts: gir-repository < 0.6.5-4mdv
66    
67     %description -n %{lib_name}
68     Accessibility means providing system infrastructure that allows add-on
69     assistive software to transparently provide specalized input and ouput
70     capabilities. For example, screen readers allow blind users to navigate
71     through applications, determine the state of controls, and read text via
72     text to speech conversion. On-screen keyboards replace physical
73     keyboards, and head-mounted pointers replace mice.
74    
75     %package -n %{develname}
76     Summary: Stuff for developing with atk
77     Group: Development/C
78     Obsoletes: %{pkgname}-devel lib%{pkgname}-devel
79     Provides: %{pkgname}-devel = %{version}-%{release}
80     Provides: lib%{pkgname}-devel = %{version}-%{release}
81     Provides: lib%{name}-devel = %{version}-%{release}
82     Requires: %{lib_name} = %{version}
83     Requires: libglib2.0-devel >= %{req_glib2_version}
84     Conflicts: libatk10-devel
85     Obsoletes: %mklibname -d %{name}_ 0
86     Conflicts: gir-repository < 0.6.5-4mdv
87    
88     %description -n %develname
89     ATK, the Accessibility Tookit, is used to obtain accessibily information
90     from GTK+ and GNOME widgets.
91    
92     %prep
93     %setup -q -n %{pkgname}-%{version}
94    
95     %build
96    
97     %configure2_5x \
98     --enable-static \
99     %if %enable_gtkdoc
100     --enable-gtk-doc
101     %endif
102    
103     %make
104    
105     %install
106     rm -rf $RPM_BUILD_ROOT
107     %makeinstall_std
108    
109     %{find_lang} %{pkgname}10
110    
111     %clean
112     rm -rf $RPM_BUILD_ROOT
113    
114     %if %mdkversion < 200900
115     %post -n %{lib_name} -p /sbin/ldconfig
116     %endif
117    
118     %if %mdkversion < 200900
119     %postun -n %{lib_name} -p /sbin/ldconfig
120     %endif
121    
122     %files common -f %{pkgname}10.lang
123     %defattr(-,root,root)
124     %doc README
125    
126     %files -n %{lib_name}
127     %defattr(-,root,root)
128     %{_libdir}/libatk-%{api_version}.so.%{lib_major}*
129     %_libdir/girepository-1.0/Atk-%{api_version}.typelib
130    
131     %files -n %develname
132     %defattr(-,root,root)
133     %doc AUTHORS ChangeLog NEWS
134     %doc %{_datadir}/gtk-doc/html/*
135     %{_includedir}/*
136     %{_libdir}/*.so
137     %{_libdir}/*.a
138     %{_libdir}/*.la
139     %{_libdir}/pkgconfig/*
140     %_datadir/gir-1.0/Atk-%{api_version}.gir
141    
142    

  ViewVC Help
Powered by ViewVC 1.1.30