]> git.pld-linux.org Git - packages/xbill.git/commitdiff
- spec adapterized.
authorkloczek <kloczek@pld-linux.org>
Sun, 21 May 2000 20:05:15 +0000 (20:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xbill.spec -> 1.6

xbill.spec

index fa98656d72d0b11cbd71bd3126c2a8d84d4d49c7..2423ba1b7d7c88deedb5d3c92b3ba5e984ac53a2 100644 (file)
@@ -1,18 +1,22 @@
-Summary:       Stop Bill from loading his OS into all the computers.
+Summary:       Stop Bill from loading his OS into all the computers
 Name:          xbill
 Version:       2.0
 Release:       7
 Copyright:     MIT
-Group:         Amusements/Games
-Source:                ftp://ftp.x.org/contrib/games/%{name}-%{version}.tgz
-Patch:         xbill-2.0-rh.patch
+Group:         X11/Games
+Group(pl):     X11/Gry
+Source0:       ftp://ftp.x.org/contrib/games/%{name}-%{version}.tgz
+Patch0:                xbill-2.0-rh.patch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _prefix         /usr/X11R6
+%define                _mandir         %{_prefix}/man
+
 %description
-The xbill game tests your reflexes as you seek out and destroy all forms
-of Bill, establish new operating systems and boldly go where no geek has
-gone before.  Xbill has become an increasingly attractive option as the
-Linux Age progresses, and it is very popular at Red Hat.
+The xbill game tests your reflexes as you seek out and destroy all
+forms of Bill, establish new operating systems and boldly go where no
+geek has gone before. Xbill has become an increasingly attractive
+option as the Linux Age progresses, and it is very popular at Red Hat.
 
 %prep
 %setup -q
@@ -28,15 +32,15 @@ rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install install.man
 
 ( cd $RPM_BUILD_ROOT
-  mkdir -p ./usr/lib/xbill
+  install -d .%{_libdir}/xbill
   for i in bitmaps pixmaps
   do
-    mv ./var/lib/games/xbill/$i ./usr/lib/xbill/$i
-    ln -s ../../../../usr/lib/xbill/$i ./var/lib/games/xbill/$i
+    mv ./var/lib/games/xbill/$i .%{_libdir}/xbill/$i
+    ln -s ../../../..%{_libdir}/xbill/$i ./var/lib/games/xbill/$i
   done
 
-  mkdir -p ./etc/X11/wmconfig
-  cat > ./etc/X11/wmconfig/xbill <<EOF
+install -d .%{_sysconfdir}/X11/wmconfig
+cat > .%{_sysconfdir}/X11/wmconfig/xbill <<EOF
 xbill name "xbill"
 xbill description "Save the world"
 xbill group Games/Video
@@ -49,10 +53,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(2755,root,games) /usr/X11R6/bin/xbill
+%attr(2755,root,games) %{_prefix}/X11R6/bin/xbill
 %attr(775,root,games)  %dir /var/lib/games/xbill
 %attr(664,root,games)  %config /var/lib/games/xbill/scores
 /var/lib/games/xbill/bitmaps
 /var/lib/games/xbill/pixmaps
-/usr/lib/xbill
-%config /etc/X11/wmconfig/xbill
+%{_libdir}/xbill
+%config %{_sysconfdir}/X11/wmconfig/xbill
This page took 0.120032 seconds and 4 git commands to generate.