1 | %define pkg_version 2.30.0 |
---|
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/2.30/%{name}-%{version}.tar.bz2 |
---|
10 | License: GPLv3+ |
---|
11 | Group: Applications/Communications |
---|
12 | URL: http://live.gnome.org/moserial |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | |
---|
16 | Requires: hicolor-icon-theme |
---|
17 | BuildRequires: gtk2-devel |
---|
18 | BuildRequires: GConf2-devel |
---|
19 | BuildRequires: vala-devel |
---|
20 | BuildRequires: gnome-doc-utils >= 0.3.2 |
---|
21 | BuildRequires: docbook-utils |
---|
22 | BuildRequires: desktop-file-utils |
---|
23 | |
---|
24 | Vendor: Project Vine |
---|
25 | Distribution: Vine Linux |
---|
26 | Packager: Takemikaduchi |
---|
27 | |
---|
28 | |
---|
29 | %description |
---|
30 | moserial is a clean, friendly gtk-based serial terminal for the gnome desktop. It is written in Vala for extra goodness. |
---|
31 | |
---|
32 | |
---|
33 | %prep |
---|
34 | %setup -q |
---|
35 | |
---|
36 | |
---|
37 | %build |
---|
38 | %configure --disable-static |
---|
39 | %{__make} %{?_smp_mflags} |
---|
40 | |
---|
41 | |
---|
42 | %install |
---|
43 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
44 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
45 | desktop-file-install --delete-original \ |
---|
46 | --dir %{buildroot}%{_datadir}/applications \ |
---|
47 | %{buildroot}%{_datadir}/applications/%{name}.desktop |
---|
48 | |
---|
49 | |
---|
50 | %find_lang %{name} |
---|
51 | |
---|
52 | |
---|
53 | %clean |
---|
54 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
55 | |
---|
56 | |
---|
57 | %post |
---|
58 | touch --no-create %{_datadir}/icons/hicolor |
---|
59 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
60 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
61 | fi |
---|
62 | |
---|
63 | |
---|
64 | %postun |
---|
65 | touch --no-create %{_datadir}/icons/hicolor |
---|
66 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
67 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
68 | fi |
---|
69 | |
---|
70 | |
---|
71 | %files -f %{name}.lang |
---|
72 | %defattr(-,root,root) |
---|
73 | %doc COPYING ChangeLog NEWS README |
---|
74 | %{_bindir}/moserial |
---|
75 | %{_datadir}/applications/moserial.desktop |
---|
76 | %{_datadir}/icons/hicolor/*/*/* |
---|
77 | %{_datadir}/gnome/help/moserial |
---|
78 | %{_datadir}/moserial/glade/moserial.ui |
---|
79 | %{_datadir}/omf/moserial/* |
---|
80 | %{_mandir}/man1/moserial.1.gz |
---|
81 | |
---|
82 | |
---|
83 | %changelog |
---|
84 | * Sun Apr 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
85 | - initial build for Vine Linux |
---|
86 | |
---|