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

Revision 7294, 2.5 KB checked in by Takemikaduchi, 11 years ago (diff)

KDE-4.9.5

Line 
1%define pkg_version 3.0.8
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
24
25Vendor: Project Vine
26Distribution: Vine Linux
27Packager: Takemikaduchi
28
29
30%description
31moserial is a clean, friendly gtk-based serial terminal for the gnome desktop. It is written in Vala for extra goodness.
32
33
34%prep
35%setup -q
36
37
38%build
39%configure --disable-static
40%{__make} %{?_smp_mflags}
41
42
43%install
44%{__rm} -rf ${RPM_BUILD_ROOT}
45%{__make} install DESTDIR=${RPM_BUILD_ROOT}
46desktop-file-install --delete-original \
47    --dir %{buildroot}%{_datadir}/applications \
48    %{buildroot}%{_datadir}/applications/%{name}.desktop
49
50
51%find_lang %{name}
52
53
54%clean
55%{__rm} -rf ${RPM_BUILD_ROOT}
56
57
58%post
59touch --no-create %{_datadir}/icons/hicolor
60if [ -x %{_bindir}/gtk-update-icon-cache ]; then
61  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
62fi
63
64
65%postun
66touch --no-create %{_datadir}/icons/hicolor
67if [ -x %{_bindir}/gtk-update-icon-cache ]; then
68  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
69fi
70
71
72%files -f %{name}.lang
73%defattr(-,root,root)
74%doc COPYING ChangeLog NEWS README
75%{_bindir}/moserial
76%{_datadir}/applications/moserial.desktop
77%{_datadir}/icons/hicolor/*/*/*
78%{_datadir}/gnome/help/moserial
79%{_datadir}/moserial/glade/moserial.ui
80%{_datadir}/omf/moserial/*
81%{_mandir}/man1/moserial.1.gz
82
83
84%changelog
85* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.8-1
86- new upstream release
87- remove Patch0 (moserial-3.0.2-stropts.patch)
88
89* Thu Jun 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.7-1
90- new upstream release
91
92* Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.5-1
93- new upstream release
94
95* Fri Oct 07 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
96- new upstream release
97- change BuildRequires: gtk3-devel instead of gtk2-devel
98- add Patch0 (moserial-3.0.2-stropts.patch)
99
100* Fri Feb 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
101- new upstream release
102
103* Sun Apr 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
104- initial build for Vine Linux
105
Note: See TracBrowser for help on using the repository browser.