]> git.pld-linux.org Git - packages/crossfire-client.git/commitdiff
STB
authorJacek Konieczny <jajcus@pld-linux.org>
Mon, 14 May 2001 16:50:09 +0000 (16:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- do not fix sound paths. It is already done in makefiles
- change sounds directory as "sound" file will be created by makefile
- BuildRequires: perl
- Version: 1.0.0

Changed files:
    crossfire-client.spec -> 1.5

crossfire-client.spec

index 37bfeaf9db12860434aa0aa4ed02bb35c757afe6..bc0831fd4d8bacee7ce9f60fce7bda852594f4ba 100644 (file)
@@ -1,6 +1,6 @@
 Summary:       Crossfire client.
 Name:          crossfire-client
-Version:       0.98.0
+Version:       1.0.0
 Release:       1
 License:       GPL
 Group:         Applications/Games
@@ -12,6 +12,7 @@ Source1:      client-0.95.2-raw-sounds.tgz
 URL:           http://crossfire.real-time.com
 BuildRequires: XFree86-devel
 BuildRequires: gtk+-devel
+BuildRequires:  perl
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _prefix /usr/X11R6
@@ -61,12 +62,9 @@ compete in the same "world".
 
 %prep
 %setup -q -a1
+mv sounds cfsounds
 
 %build
-for l in sounds.dist soundsdef.h ; do
-       mv $l $l.bak
-       sed -e"s@/usr/local/lib/@%{_datadir}/cfclient/@" -e's@\.au@.raw@' < $l.bak > $l
-done
 %configure \
        --disable-alsa \
        --with-sound-dir=%{_datadir}/cfclient/sounds
@@ -78,14 +76,14 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/cfclient/sound
 install cfclient gcfclient cfsndserv $RPM_BUILD_ROOT%{_bindir}
 install client.man $RPM_BUILD_ROOT%{_mandir}/man1/cfclient.1
 install client.man $RPM_BUILD_ROOT%{_mandir}/man1/gcfclient.1
-install sounds/*.raw $RPM_BUILD_ROOT%{_datadir}/cfclient/sounds/
+install cfsounds/*.raw $RPM_BUILD_ROOT%{_datadir}/cfclient/sounds/
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGES README README.old def_keys
+%doc CHANGES README def_keys
 %attr(755,root,root) %{_bindir}/cfclient
 %{_mandir}/man?/cf*
 
This page took 0.124692 seconds and 4 git commands to generate.