Spec cleanup

This commit is contained in:
Petr Šabata 2012-01-11 15:21:07 +01:00
parent 95dc212e0a
commit 4faadd4fa4
1 changed files with 1 additions and 9 deletions

View File

@ -1,18 +1,15 @@
%define packageversion 50b8
%global packageversion 50b8
Name: tinyfugue
Version: 5.0
Release: 0.15.b8%{?dist}
Summary: A MU* client
Group: Applications/Internet
License: GPLv2+
URL: http://tinyfugue.sourceforge.net/
Source: http://downloads.sourceforge.net/tinyfugue/tf-%{packageversion}.tar.gz
Patch0: tf-50b7.build.patch
Patch1: tf-50b8.x86_64.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel
BuildRequires: pcre-devel
BuildRequires: openssl-devel
@ -34,16 +31,11 @@ macros, and create hooks and triggers for automated responses to game messages.
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
install -d %{buildroot}%{_prefix}
make install DESTDIR=%{buildroot}
install -D -p -m 644 src/tf.1.nroffman %{buildroot}%{_mandir}/man1/tf.1
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc CHANGES COPYING CREDITS README
%{_bindir}/tf
%{_datadir}/tf-lib/