]> git.pld-linux.org Git - packages/bsd-games.git/commitdiff
- added -man patch (fix paths and names in manpages)
authorankry <ankry@pld-linux.org>
Tue, 28 Sep 2004 21:31:50 +0000 (21:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- build trek docs (R: groff)
- rel 2.2

Changed files:
    bsd-games.spec -> 1.45

bsd-games.spec

index ce978df70926f80dabf29fe89379e7f19587fe51..30a1f56b8dbc9bc259b8814d75960ff21255991f 100644 (file)
@@ -7,7 +7,7 @@ Summary(pt):    Pacote com v
 Summary(tr):   Metin ekranda oyunlar paketi
 Name:          bsd-games
 Version:       2.15
-Release:       2.1
+Release:       2.2
 License:       distributable
 Group:         Applications/Games
 Source0:       ftp://ibiblio.org/pub/Linux/games/%{name}-%{version}.tar.gz
@@ -20,10 +20,12 @@ Patch2:             %{name}-ospeed.patch
 Patch3:                %{name}-config.patch
 Patch4:                %{name}-from.patch
 Patch5:                %{name}-monop_rename.patch
+Patch6:                %{name}-man.patch
 BuildRequires: bison
+BuildRequires: flex
+BuildRequires: groff
 BuildRequires: ncurses-devel >= 5.0
 BuildRequires: words
-BuildRequires: flex
 Requires:      textutils
 Requires:      words
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -74,8 +76,6 @@ oyunlar i
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
-%patch5 -p1
 
 # config patch creation: diff between unconfigured and following configuration:
 # Install prefix: $INSTALL_PREFIX
@@ -89,11 +89,19 @@ oyunlar i
 
 # then change $RPM_BUILD_DIR path to "."
 
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+
 %build
 %{__make} \
        LDFLAGS="%{rpmldflags}" \
        OPTIMIZE="%{rpmcflags}"
 
+mkdir doc/trek
+nroff trek/DOC/read_me.nr > doc/trek/read_me.txt
+nroff trek/DOC/trekmanual.nr > doc/trek/trekmanual.txt
+
 %install
 rm -rf $RPM_BUILD_ROOT
 chmod +x install-man install-score
@@ -120,6 +128,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc doc/trek
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_sbindir}/huntd
 %{_datadir}/games/*
This page took 0.089128 seconds and 4 git commands to generate.