52 lines
No EOL
1.1 KiB
RPMSpec
52 lines
No EOL
1.1 KiB
RPMSpec
Name: numlockx
|
|
Version: 1.0
|
|
Release: 3
|
|
Summary: NumLockX turns on NumLock after starting X
|
|
|
|
Group: Applications/System
|
|
License: MIT
|
|
URL: http://ktown.kde.org/~seli/numlockx/
|
|
Source0: http://ktown.kde.org/~seli/numlockx/numlockx-%{version}.tar.gz
|
|
Source1: numlockx.sh
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: xorg-x11-devel
|
|
Requires: xinitrc
|
|
|
|
%description
|
|
%{summary}
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
install -p -D %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d/numlockx.sh
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%{_bindir}/numlockx
|
|
%{_sysconfdir}/X11/xinit/xinitrc.d/numlockx.sh
|
|
%doc AUTHORS README LICENSE
|
|
|
|
%changelog
|
|
* Sun Aug 28 2005 John Mahowald <jpmahowald@gmail.com> 1.0-3
|
|
- Macro changes
|
|
|
|
* Sat Aug 27 2005 John Mahowald <jpmahowald@gmail.com> 1.0-2
|
|
- Script for xinitrc.d
|
|
- Use more macros
|
|
|
|
* Fri Aug 26 2005 John Mahowald <jpmahowald@gmail.com> 1.0-1
|
|
- Initial rpm |