1 | # Review: https://bugzilla.redhat.com/show_bug.cgi?id=498130 |
---|
2 | |
---|
3 | Name: lxinput |
---|
4 | Version: 0.3.0 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Summary: Keyboard and mouse configuration utility for LXDE |
---|
7 | Summary(ja): LXDE のキーボードとマウスの設定ユーティリティ |
---|
8 | |
---|
9 | Group: User Interface/Desktops |
---|
10 | License: GPLv2+ |
---|
11 | URL: http://lxde.sourceforge.net/ |
---|
12 | Source0: http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildRequires: gtk2-devel >= 2.12.0 |
---|
16 | BuildRequires: glib2-devel |
---|
17 | BuildRequires: intltool >= 0.40 |
---|
18 | BuildRequires: gettext desktop-file-utils pkgconfig |
---|
19 | BuildRequires: perl-XML-Parser |
---|
20 | Requires: lxsession >= 0.4.0 |
---|
21 | |
---|
22 | %description |
---|
23 | LXInput is a keyboard and mouse configuration utility for LXDE, the |
---|
24 | Lightweight X11 Desktop Environment. |
---|
25 | |
---|
26 | %description -l ja |
---|
27 | LXInput は LXDE のキーボードとマウスの設定ユーティリティです。 |
---|
28 | |
---|
29 | %prep |
---|
30 | %setup -q |
---|
31 | |
---|
32 | |
---|
33 | %build |
---|
34 | %configure |
---|
35 | make %{?_smp_mflags} |
---|
36 | |
---|
37 | |
---|
38 | %install |
---|
39 | rm -rf $RPM_BUILD_ROOT |
---|
40 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' |
---|
41 | desktop-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 |
---|
50 | rm -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 |
---|