source: projects/specs/trunk/l/lxinput/lxinput-vl.spec @ 1544

Revision 1544, 2.2 KB checked in by kudoh, 14 years ago (diff)
Line 
1# Review: https://bugzilla.redhat.com/show_bug.cgi?id=498130
2
3Name:           lxinput
4Version:        0.3.0
5Release:        1%{?_dist_release}
6Summary:        Keyboard and mouse configuration utility for LXDE
7Summary(ja):    LXDE のキーボードとマウスの設定ユーティリティ
8
9Group:          User Interface/Desktops
10License:        GPLv2+
11URL:            http://lxde.sourceforge.net/
12Source0:        http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires:  gtk2-devel >= 2.12.0
16BuildRequires:  glib2-devel
17BuildRequires:  intltool >= 0.40
18BuildRequires:  gettext desktop-file-utils pkgconfig
19BuildRequires:  perl-XML-Parser
20Requires:       lxsession >= 0.4.0
21
22%description
23LXInput is a keyboard and mouse configuration utility for LXDE, the
24Lightweight X11 Desktop Environment.
25
26%description -l ja
27LXInput は LXDE のキーボードとマウスの設定ユーティリティです。
28
29%prep
30%setup -q
31
32
33%build
34%configure
35make %{?_smp_mflags}
36
37
38%install
39rm -rf $RPM_BUILD_ROOT
40make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
41desktop-file-install                                       \
42  --delete-original                                        \
43  --add-category=X-LXDE                                    \
44  --dir=${RPM_BUILD_ROOT}%{_datadir}/applications          \
45  ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
46%find_lang %{name}
47
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52
53%files -f %{name}.lang
54%defattr(-,root,root,-)
55#FIXME: add ChangeLog and NEWS if there is content
56%doc AUTHORS COPYING README
57%{_bindir}/%{name}
58%{_datadir}/%{name}/
59%{_datadir}/applications/%{name}.desktop
60%{_datadir}/man/*
61
62
63%changelog
64* Tue Aug 10 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.0-1
65- new upstream release
66- added BuildRequires: glib2-devel
67- changed Requires: lxde-settings-daemon to lxsession >= 0.4.0
68- changed BuildRequires: intltool >= 0.40
69
70* Thu Jul 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.1-1
71- new upstream release
72- added %{_datadir}/man/* in %files
73
74* Fri Jun 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1-1
75- initial build for VineSeed
76
77* Tue Apr 28 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.1-1
78- Initial Fedora package
Note: See TracBrowser for help on using the repository browser.