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

Revision 4872, 2.3 KB checked in by Takemikaduchi, 13 years ago (diff)

new upstream release

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