1 | %define pkg_version 3.0.10 |
---|
2 | %define pkg_release 1%{?_dist_release} |
---|
3 | |
---|
4 | Summary: Gtk-based serial terminal |
---|
5 | Summary(ja): GTKベースのシリアルターミナル |
---|
6 | Name: moserial |
---|
7 | Version: %{pkg_version} |
---|
8 | Release: %{pkg_release} |
---|
9 | Source0: http://ftp.gnome.org/pub/gnome/sources/moserial/3.0/%{name}-%{version}.tar.xz |
---|
10 | |
---|
11 | License: GPLv3+ |
---|
12 | Group: Applications/Communications |
---|
13 | URL: http://live.gnome.org/moserial |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | |
---|
17 | Requires: hicolor-icon-theme |
---|
18 | BuildRequires: gtk3-devel |
---|
19 | BuildRequires: GConf2-devel |
---|
20 | BuildRequires: vala-devel |
---|
21 | BuildRequires: gnome-doc-utils >= 0.3.2 |
---|
22 | BuildRequires: docbook-utils |
---|
23 | BuildRequires: desktop-file-utils |
---|
24 | BuildRequires: yelp-tools |
---|
25 | |
---|
26 | Vendor: Project Vine |
---|
27 | Distribution: Vine Linux |
---|
28 | Packager: Takemikaduchi |
---|
29 | |
---|
30 | |
---|
31 | %description |
---|
32 | moserial is a clean, friendly gtk-based serial terminal for the gnome desktop. It is written in Vala for extra goodness. |
---|
33 | |
---|
34 | |
---|
35 | %prep |
---|
36 | %setup -q |
---|
37 | |
---|
38 | |
---|
39 | %build |
---|
40 | %configure --disable-static |
---|
41 | %{__make} %{?_smp_mflags} |
---|
42 | |
---|
43 | |
---|
44 | %install |
---|
45 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
46 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
47 | desktop-file-install --delete-original \ |
---|
48 | --dir %{buildroot}%{_datadir}/applications \ |
---|
49 | %{buildroot}%{_datadir}/applications/%{name}.desktop |
---|
50 | |
---|
51 | |
---|
52 | %find_lang %{name} |
---|
53 | |
---|
54 | |
---|
55 | %clean |
---|
56 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
57 | |
---|
58 | |
---|
59 | %post |
---|
60 | touch --no-create %{_datadir}/icons/hicolor |
---|
61 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
62 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
63 | fi |
---|
64 | |
---|
65 | |
---|
66 | %postun |
---|
67 | touch --no-create %{_datadir}/icons/hicolor |
---|
68 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
69 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
70 | fi |
---|
71 | |
---|
72 | |
---|
73 | %files -f %{name}.lang |
---|
74 | %defattr(-,root,root) |
---|
75 | %doc COPYING ChangeLog NEWS README |
---|
76 | %{_bindir}/%{name} |
---|
77 | %{_datadir}/appdata/%{name}.appdata.xml |
---|
78 | %{_datadir}/applications/%{name}.desktop |
---|
79 | %{_datadir}/icons/hicolor/*/*/* |
---|
80 | %{_datadir}/help/*/%{name} |
---|
81 | %{_mandir}/man1/%{name}.1.gz |
---|
82 | |
---|
83 | |
---|
84 | %changelog |
---|
85 | * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.10-1 |
---|
86 | - new upstream release |
---|
87 | - add BuildRequires: yelp-tools |
---|
88 | |
---|
89 | * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.8-1 |
---|
90 | - new upstream release |
---|
91 | - remove Patch0 (moserial-3.0.2-stropts.patch) |
---|
92 | |
---|
93 | * Thu Jun 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.7-1 |
---|
94 | - new upstream release |
---|
95 | |
---|
96 | * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.5-1 |
---|
97 | - new upstream release |
---|
98 | |
---|
99 | * Fri Oct 07 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1 |
---|
100 | - new upstream release |
---|
101 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
102 | - add Patch0 (moserial-3.0.2-stropts.patch) |
---|
103 | |
---|
104 | * Fri Feb 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1 |
---|
105 | - new upstream release |
---|
106 | |
---|
107 | * Sun Apr 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
108 | - initial build for Vine Linux |
---|
109 | |
---|