File sl.spec of Package sl
#
# spec file for package sl
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An “Open Source License” is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: sl
Version: 3.03
Release: 1
Summary: Ultimate Joke Command
Group: System/Console
License: Public domain, Freeware
URL: http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/index_e.html
Source: sl.tar.bz2
Patch1: makefile.diff
Patch2: sl_c.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: ncurses-devel make gcc
%description
SL (Steam Locomotive) runs across your terminal when you type "sl" as you meant to type "ls". It's just a joke command, and not useful at all.
Authors:
--------
Masashi Toyoda
%prep
%setup -n sl
%patch1
%patch2
%build
%__make CFLAGS='%{optflags}'
%install
%__make install \
PREFIX=%{buildroot}/usr \
MANDIR=%{buildroot}%{_mandir}/ja/man1
%clean
%files
%defattr(-,root,root,-)
%doc README
%{_bindir}/sl
%{_mandir}/ja/man1/sl.1.gz
%dir %{_mandir}/ja
%dir %{_mandir}/ja/man1
%changelog
* Tue Feb 10 2009 - Radomir Cernoch <radomir.cernoch@gmail.com> - 3.03
- Target directory creation moved from .spec to Makefile
- No more strip of binaries
- "Group" tag repaired
* Sat Jan 31 2009 Radomir Cernoch <radomir.cernoch@gmail.com> - 3.03
- Cleanup
* Thu Jan 22 2009 Radomir Cernoch <radomir.cernoch@gmail.com> - 3.03
- Initial revision