source: projects/specs/branches/6/m/moserial/moserial-vl.spec @ 2721

Revision 2721, 2.1 KB checked in by Takemikaduchi, 13 years ago (diff)

new upstream release and new package: gtk3

Line 
1%define pkg_version 2.32.0
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/2.32/%{name}-%{version}.tar.bz2
10License:        GPLv3+
11Group:          Applications/Communications
12URL:            http://live.gnome.org/moserial
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15
16Requires:       hicolor-icon-theme
17BuildRequires:  gtk2-devel
18BuildRequires:  GConf2-devel
19BuildRequires:  vala-devel
20BuildRequires:  gnome-doc-utils >= 0.3.2
21BuildRequires:  docbook-utils
22BuildRequires:  desktop-file-utils
23
24Vendor: Project Vine
25Distribution: Vine Linux
26Packager: Takemikaduchi
27
28
29%description
30moserial 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}
45desktop-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
58touch --no-create %{_datadir}/icons/hicolor
59if [ -x %{_bindir}/gtk-update-icon-cache ]; then
60  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
61fi
62
63
64%postun
65touch --no-create %{_datadir}/icons/hicolor
66if [ -x %{_bindir}/gtk-update-icon-cache ]; then
67  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
68fi
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* Fri Feb 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
85- new upstream release
86
87* Sun Apr 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
88- initial build for Vine Linux
89
Note: See TracBrowser for help on using the repository browser.