[grfcodec] - update to latest nightly build for support of latest grfcodec features - nforenum is now part of g

Felix Kaechele heffer at fedoraproject.org
Thu Oct 14 18:51:26 UTC 2010


commit a654c1392c9b6d212d2ae8554f0c3cc40c345a21
Author: Felix Kaechele <heffer at fedoraproject.org>
Date:   Thu Oct 14 20:47:36 2010 +0200

    - update to latest nightly build for support of latest grfcodec features
    - nforenum is now part of grfcodec

 .gitignore    |    1 +
 grfcodec.spec |   26 +++++++++++++++++++-------
 sources       |    2 +-
 3 files changed, 21 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 95f80e2..1504845 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 grfcodec-r2306.tar.gz
 /grfcodec-1.0.0-source.tar.gz
+/grfcodec-nightly-r772-source.tar.gz
diff --git a/grfcodec.spec b/grfcodec.spec
index 982b88f..2945437 100644
--- a/grfcodec.spec
+++ b/grfcodec.spec
@@ -1,14 +1,19 @@
+%global prever r772
+
 Name:           grfcodec
-Version:        1.0.0
-Release:        1%{?dist}
+Version:        1.0.1
+Release:        0.1.%{?prever}%{?dist}
 Summary:        A suite of programs to modify Transport Tycoon Deluxe's GRF files
 Group:          Development/Tools
 License:        GPLv2+
 URL:            http://dev.openttdcoop.org/projects/grfcodec
-Source0:        http://binaries.openttd.org/extra/grfcodec/%{version}/grfcodec-%{version}-source.tar.gz
+#Source0:        http://binaries.openttd.org/extra/grfcodec/%{version}/grfcodec-%{version}-source.tar.gz
+Source0:        http://binaries.openttd.org/extra/grfcodec-nightly/%{prever}/grfcodec-nightly-%{prever}-source.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  boost-devel
+Obsoletes:      nforenum < 4.0.0-2
+Provides:       nforenum = 4.0.0-2
 
 
 %description
@@ -16,7 +21,7 @@ A suite of programs to modify Transport Tycoon Deluxe's GRF files.
 
 
 %prep
-%setup -q -n %{name}-%{version}-source
+%setup -q -n grfcodec-nightly-%{prever}-source
 
 
 %build
@@ -24,6 +29,10 @@ cat << EOF >> Makefile.local
 STRIP=true
 V=1
 CXXFLAGS=%{optflags}
+prefix=%{_prefix}
+DO_NOT_INSTALL_DOCS=1
+DO_NOT_INSTALL_CHANGELOG=1
+DO_NOT_INSTALL_LICENSE=1
 EOF
 
 make %{?_smp_mflags}
@@ -33,9 +42,6 @@ make %{?_smp_mflags}
 rm -rf %{buildroot}
 make install DESTDIR=%{buildroot}
 
-# docs are installed by %%doc
-rm -rf %{buildroot}%{_docdir}/%{name}
-
 
 %clean
 rm -rf %{buildroot}
@@ -46,10 +52,16 @@ rm -rf %{buildroot}
 %doc changelog.txt COPYING
 %doc docs/*.txt
 %{_bindir}/grf*
+%{_bindir}/nforenum
 %{_mandir}/man1/grf*.1.gz
+%{_mandir}/man1/nforenum.1.gz
 
 
 %changelog
+* Tue Sep 21 2010 Felix Kaechele <heffer at fedoraproject.org> - 1.0.1-0.1.r772
+- update to latest nightly build for support of latest grfcodec features
+- nforenum is now part of grfcodec
+
 * Fri Aug 27 2010 Felix Kaechele <heffer at fedoraproject.org> - 1.0.0-1
 - update to new upstream release
 - contains mostly fixes for downstream packagers (like us)
diff --git a/sources b/sources
index ef1c12d..a6291f4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a7689a1036ca950d645890df0d70af59  grfcodec-1.0.0-source.tar.gz
+4c4b82cf5cea01603373de573bee2b78  grfcodec-nightly-r772-source.tar.gz


More information about the scm-commits mailing list