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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1709460 - (hide 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 ovitters 1709460 %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 wally 156072
3 wally 87843 Summary: An interactive Python tool for querying accessibility information
4     Name: accerciser
5 ovitters 1624087 Version: 3.38.0
6 neoclust 1706286 Release: %mkrel 3
7 wally 87843 License: BSD
8     Group: Accessibility
9 wally 1582250 Url: https://wiki.gnome.org/Apps/Accerciser
10 daviddavid 1136120 Source0: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
11 wally 87843 BuildArch: noarch
12 fwang 136432 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 daviddavid 1379688 BuildRequires: gettext
16 fwang 287891 BuildRequires: itstool
17 fwang 287897 BuildRequires: libxml2-utils
18 daviddavid 1379689 BuildRequires: yelp-tools
19 ovitters 642908 BuildRequires: pkgconfig(python3)
20 ovitters 1571373 Requires: python3dist(pygobject)
21 dmorgan 82792
22     %description
23     An interactive Python accessibility explorer.
24    
25     %prep
26     %setup -q
27 ovitters 1372592 %autopatch -p1
28 dmorgan 82792
29     %build
30 daviddavid 1475513 export PYTHON=%{__python3}
31 wally 1478242 %configure --build=%{_host}
32 daviddavid 1136120 %make_build
33 dmorgan 82792
34     %install
35 daviddavid 1136120 %make_install
36 dmorgan 82792
37 daviddavid 1136171 %find_lang %{name} --with-gnome
38 dmorgan 82792
39     %files -f %{name}.lang
40 daviddavid 1136120 %doc AUTHORS README NEWS
41 wally 87843 %{_bindir}/%{name}
42 dams 426250 %{python3_sitelib}/%{name}
43 daviddavid 1136120 %{_datadir}/glib-2.0/schemas/org.a11y.Accerciser.gschema.xml
44 wally 87843 %{_datadir}/%{name}
45 ovitters 1055235 %{_datadir}/icons/hicolor/*/apps/%{name}*.*
46 wally 87843 %{_datadir}/applications/%{name}.desktop
47 dmorgan 82792 %{_mandir}/man1/*
48 daviddavid 1379689 %{_metainfodir}/*.appdata.xml

  ViewVC Help
Powered by ViewVC 1.1.28