]> git.pld-linux.org Git - packages/tintin.git/blame - tintin.spec
- don't use wildcards in %files for single file
[packages/tintin.git] / tintin.spec
CommitLineData
168fb4eb 1Summary: A mud client that runs in console mode
e768d851 2Summary(pl.UTF-8): Klient mudowy uruchamiany na terminalu tekstowym
168fb4eb 3Name: tintin
21eaafde 4Version: 1.99.9
2374f481 5Release: 1
168fb4eb 6License: GPL v2+
0fc061a6 7Group: Applications/Games
c343d559 8Source0: http://tintin-mud-client.googlecode.com/files/%{name}-%{version}.tar.gz
21eaafde 9# Source0-md5: 264992e7f5be3ca37501ff14fa81358e
1a5efdcc 10Patch0: %{name}-cflags.patch
168fb4eb 11URL: http://tintin.sourceforge.net/
12BuildRequires: readline-devel
fa84ad6d 13BuildRequires: sed >= 4.0
168fb4eb 14BuildRequires: zlib-devel
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18TinTin++ is a mud client that runs in console mode.
19
e9a0ec15 20%description -l pl.UTF-8
0fc061a6 21TinTin++ jest klientem mudowym uruchamianym na terminalu tekstowym.
168fb4eb 22
23%prep
24%setup -q -n tt
1a5efdcc 25%patch0 -p1
2a9b4f51 26%{__sed} -i -e 's@$(bindir)@$(DESTDIR)$(bindir)@g' src/Makefile.in
168fb4eb 27
838c402a 28# change binary file name to better one
29%{__sed} -i -e 's@tt++@tintin@g' src/Makefile.in
30
168fb4eb 31%build
4c3fab13 32cd src
168fb4eb 33%configure
34%{__make}
35
36%install
37rm -rf $RPM_BUILD_ROOT
38install -d $RPM_BUILD_ROOT%{_bindir}
39
4c3fab13 40%{__make} -C src install \
168fb4eb 41 DESTDIR=$RPM_BUILD_ROOT
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(644,root,root,755)
48%doc CREDITS FAQ README TODO docs/*.txt
b12323e0 49%attr(755,root,root) %{_bindir}/tintin
This page took 0.060095 seconds and 4 git commands to generate.