source: projects/specs/trunk/m/moserial/moserial-vl.spec @ 9804

Revision 9804, 2.7 KB checked in by Takemikaduchi, 8 years ago (diff)

GNOME-3.18.2 & Cinnamon-2.8.4

Line 
1%define pkg_version 3.0.10
2%define pkg_release 1%{?_dist_release}
3
4Summary:        Gtk-based serial terminal
5Summary(ja):    GTKベースのシリアルターミナル
6Name:           moserial
7Version:        %{pkg_version}
8Release:        %{pkg_release}
9Source0:        http://ftp.gnome.org/pub/gnome/sources/moserial/3.0/%{name}-%{version}.tar.xz
10
11License:        GPLv3+
12Group:          Applications/Communications
13URL:            http://live.gnome.org/moserial
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16
17Requires:       hicolor-icon-theme
18BuildRequires:  gtk3-devel
19BuildRequires:  GConf2-devel
20BuildRequires:  vala-devel
21BuildRequires:  gnome-doc-utils >= 0.3.2
22BuildRequires:  docbook-utils
23BuildRequires:  desktop-file-utils
24BuildRequires:  yelp-tools
25
26Vendor: Project Vine
27Distribution: Vine Linux
28Packager: Takemikaduchi
29
30
31%description
32moserial 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}
47desktop-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
60touch --no-create %{_datadir}/icons/hicolor
61if [ -x %{_bindir}/gtk-update-icon-cache ]; then
62  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
63fi
64
65
66%postun
67touch --no-create %{_datadir}/icons/hicolor
68if [ -x %{_bindir}/gtk-update-icon-cache ]; then
69  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
70fi
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
Note: See TracBrowser for help on using the repository browser.