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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1835686 - (show annotations) (download)
Wed Mar 30 21:42:23 2022 UTC (2 years ago) by umeabot
File size: 1423 byte(s)
Mageia 9 Mass Rebuild
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: Serial terminal for the Gnome desktop
4 Name: moserial
5 Version: 3.0.21
6 Release: %mkrel 2
7 Group: Communications/Serial
8 License: GPLv3+
9 URL: https://wiki.gnome.org/moserial/
10 Source0: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
11 BuildRequires: intltool
12 BuildRequires: itstool
13 BuildRequires: desktop-file-utils
14 BuildRequires: pkgconfig(gtk+-3.0)
15 BuildRequires: pkgconfig(gnome-doc-utils)
16 Requires: hicolor-icon-theme
17 Requires: yelp
18
19 %description
20 Moserial is a clean, friendly gtk-based serial terminal for the Gnome
21 desktop. It is written in Vala for extra goodness.
22
23 %prep
24 %setup -q
25
26 %build
27 %configure
28 %make_build
29
30 %install
31 %make_install
32
33 desktop-file-install \
34 --dir %{buildroot}%{_datadir}/applications \
35 %{buildroot}%{_datadir}/applications/*.desktop
36
37 %find_lang %{name} --with-gnome
38
39 %files -f %{name}.lang
40 %doc AUTHORS ChangeLog ChangeLog.pre-git NEWS
41 %{_bindir}/moserial
42 %{_datadir}/applications/moserial.desktop
43 %{_metainfodir}/moserial.appdata.xml
44 %{_datadir}/icons/hicolor/*/apps/moserial.*
45 %{_mandir}/man1/moserial.1*

  ViewVC Help
Powered by ViewVC 1.1.30