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

Revision 521, 2.0 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1# Review: https://bugzilla.redhat.com/show_bug.cgi?id=498130
2
3Name:           lxinput
4Version:        0.1.1
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:  gettext intltool desktop-file-utils pkgconfig
17BuildRequires:  perl-XML-Parser
18Requires:       lxde-settings-daemon
19
20%description
21LXInput is a keyboard and mouse configuration utility for LXDE, the
22Lightweight X11 Desktop Environment.
23
24%description -l ja
25LXInputはLXDEのキーボードとマウスの設定ユーティリティです。
26
27%prep
28%setup -q
29
30
31%build
32%configure
33make %{?_smp_mflags}
34
35
36%install
37rm -rf $RPM_BUILD_ROOT
38make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
39desktop-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
49rm -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
Note: See TracBrowser for help on using the repository browser.