source: projects/specs/trunk/n/numlockx/numlockx-vl.spec @ 10199

Revision 10199, 1.3 KB checked in by ara_t, 8 years ago (diff)

enable NumLock? in X11 sessions

Line 
1%define pkg_name    numlockx
2%define pkg_version 1.2
3%define pkg_release 1%{?_dist_release}
4
5Summary:     enable NumLock in X11 sessions
6Summary(ja): X11セッションでNumLockを有効化するユーティリティ
7Name:        %{pkg_name}
8Version:     %{pkg_version}
9Release:     %{pkg_release}
10
11License:  MIT
12Group:    Applications/Other
13URL:      https://github.com/rg3/numlockx
14Source0:  %{pkg_name}-%{pkg_version}.tar.gz
15Source1:  numlockx.sh
16
17BuildRoot: %{_tmppath}/%{name}-%{version}-root
18BuildRequires: libX11-devel
19
20Vendor: Project Vine
21Distribution: Vine Linux
22Packager: ara_t
23
24
25%description
26Utilities to enable the keyboard's Numeric Lock during X11 session
27initialization or using command line utility.
28#'
29
30%description -l ja
31X11 セッションの初期化時に、またはコマンドラインユーティリティを用いて
32キーボードのNumeric Lockを有効化するユーティリティです。
33
34
35%prep
36%{__rm} -rf ${RPM_BUILD_ROOT}
37%setup -q
38
39%build
40%{configure}
41%{__make} %{?_smp_mflags}
42
43%install
44%{make_install}
45
46%{__mkdir_p} ${RPM_BUILD_ROOT}/etc/profile.d/
47%{__install} -m 755 %{SOURCE1} ${RPM_BUILD_ROOT}/etc/profile.d/
48
49%clean
50%{__rm} -rf ${RPM_BUILD_ROOT}
51
52
53%files
54%defattr(-, root, root)
55%doc AUTHORS ChangeLog LICENSE README TODO
56/etc/profile.d/
57%{_bindir}/
58
59
60%changelog
61* Tue Apr 26 2016 Toshiaki Ara <ara_t@384.jp> 1.2-1
62- new package
63
Note: See TracBrowser for help on using the repository browser.