Rev | Line | |
---|
[10199] | 1 | %define pkg_name numlockx |
---|
| 2 | %define pkg_version 1.2 |
---|
| 3 | %define pkg_release 1%{?_dist_release} |
---|
| 4 | |
---|
| 5 | Summary: enable NumLock in X11 sessions |
---|
| 6 | Summary(ja): X11セッションでNumLockを有効化するユーティリティ |
---|
| 7 | Name: %{pkg_name} |
---|
| 8 | Version: %{pkg_version} |
---|
| 9 | Release: %{pkg_release} |
---|
| 10 | |
---|
| 11 | License: MIT |
---|
| 12 | Group: Applications/Other |
---|
| 13 | URL: https://github.com/rg3/numlockx |
---|
| 14 | Source0: %{pkg_name}-%{pkg_version}.tar.gz |
---|
| 15 | Source1: numlockx.sh |
---|
| 16 | |
---|
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 18 | BuildRequires: libX11-devel |
---|
| 19 | |
---|
| 20 | Vendor: Project Vine |
---|
| 21 | Distribution: Vine Linux |
---|
| 22 | Packager: ara_t |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | Utilities to enable the keyboard's Numeric Lock during X11 session |
---|
| 27 | initialization or using command line utility. |
---|
| 28 | #' |
---|
| 29 | |
---|
| 30 | %description -l ja |
---|
| 31 | X11 セッションの初期化時に、またはコマンドラインユーティリティを用いて |
---|
| 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.