/[packages]/cauldron/accerciser/current/SPECS/accerciser.spec
ViewVC logotype

Contents of /cauldron/accerciser/current/SPECS/accerciser.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1709460 - (show annotations) (download)
Wed Mar 24 21:33:10 2021 UTC (7 weeks, 3 days ago) by ovitters
File size: 1504 byte(s)
SILENT update url_ver macro
1 %define url_ver %{lua: ver = rpm.expand("%{version}"); majmin, count1 = string.gsub(ver, "^([0123456789]+%.[0123456789]+).*", "%1", 1); if count1 == 0 then print(ver); return; end; maj, count2 = string.gsub(majmin, "^([0123456789]+).*", "%1", 1); if count2 == 0 then print(majmin) elseif tonumber(majmin) < 40 then print(majmin) else print(maj) end}
2
3 Summary: An interactive Python tool for querying accessibility information
4 Name: accerciser
5 Version: 3.38.0
6 Release: %mkrel 3
7 License: BSD
8 Group: Accessibility
9 Url: https://wiki.gnome.org/Apps/Accerciser
10 Source0: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
11 BuildArch: noarch
12 BuildRequires: pkgconfig(atspi-2) >= 2.1.5
13 BuildRequires: pkgconfig(gtk+-3.0) >= 3.1.13
14 BuildRequires: pkgconfig(pygobject-3.0) >= 2.90.3
15 BuildRequires: gettext
16 BuildRequires: itstool
17 BuildRequires: libxml2-utils
18 BuildRequires: yelp-tools
19 BuildRequires: pkgconfig(python3)
20 Requires: python3dist(pygobject)
21
22 %description
23 An interactive Python accessibility explorer.
24
25 %prep
26 %setup -q
27 %autopatch -p1
28
29 %build
30 export PYTHON=%{__python3}
31 %configure --build=%{_host}
32 %make_build
33
34 %install
35 %make_install
36
37 %find_lang %{name} --with-gnome
38
39 %files -f %{name}.lang
40 %doc AUTHORS README NEWS
41 %{_bindir}/%{name}
42 %{python3_sitelib}/%{name}
43 %{_datadir}/glib-2.0/schemas/org.a11y.Accerciser.gschema.xml
44 %{_datadir}/%{name}
45 %{_datadir}/icons/hicolor/*/apps/%{name}*.*
46 %{_datadir}/applications/%{name}.desktop
47 %{_mandir}/man1/*
48 %{_metainfodir}/*.appdata.xml

  ViewVC Help
Powered by ViewVC 1.1.28