[521] | 1 | # Review: https://bugzilla.redhat.com/show_bug.cgi?id=498130 |
---|
| 2 | |
---|
| 3 | Name: lxinput |
---|
| 4 | Version: 0.1.1 |
---|
| 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: gettext intltool desktop-file-utils pkgconfig |
---|
| 17 | BuildRequires: perl-XML-Parser |
---|
| 18 | Requires: lxde-settings-daemon |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | LXInput is a keyboard and mouse configuration utility for LXDE, the |
---|
| 22 | Lightweight X11 Desktop Environment. |
---|
| 23 | |
---|
| 24 | %description -l ja |
---|
| 25 | LXInputはLXDEのキーボードとマウスの設定ユーティリティです。 |
---|
| 26 | |
---|
| 27 | %prep |
---|
| 28 | %setup -q |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | %build |
---|
| 32 | %configure |
---|
| 33 | make %{?_smp_mflags} |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | %install |
---|
| 37 | rm -rf $RPM_BUILD_ROOT |
---|
| 38 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' |
---|
| 39 | desktop-file-install \ |
---|
| 40 | --delete-original \ |
---|
| 41 | --remove-only-show-in=LXDE \ |
---|
| 42 | --add-category=X-LXDE \ |
---|
| 43 | --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ |
---|
| 44 | ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop |
---|
| 45 | %find_lang %{name} |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | %clean |
---|
| 49 | rm -rf $RPM_BUILD_ROOT |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %files -f %{name}.lang |
---|
| 53 | %defattr(-,root,root,-) |
---|
| 54 | #FIXME: add ChangeLog and NEWS if there is content |
---|
| 55 | %doc AUTHORS COPYING README |
---|
| 56 | %{_bindir}/%{name} |
---|
| 57 | %{_datadir}/%{name}/ |
---|
| 58 | %{_datadir}/applications/%{name}.desktop |
---|
| 59 | %{_datadir}/man/* |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %changelog |
---|
| 63 | * Thu Jul 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.1-1 |
---|
| 64 | - new upstream release |
---|
| 65 | - added %{_datadir}/man/* in %files |
---|
| 66 | |
---|
| 67 | * Fri Jun 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1-1 |
---|
| 68 | - initial build for VineSeed |
---|
| 69 | |
---|
| 70 | * Tue Apr 28 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.1-1 |
---|
| 71 | - Initial Fedora package |
---|