packages: nforenum/nforenum.spec - updated to 4.0.0 (DEVEL merge) - change ...
lisu
lisu at pld-linux.org
Tue Aug 17 09:36:01 CEST 2010
Author: lisu Date: Tue Aug 17 07:36:01 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- updated to 4.0.0 (DEVEL merge)
- change -cflags.patch to -flags.patch, which fixes also flags passing order
---- Files affected:
packages/nforenum:
nforenum.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: packages/nforenum/nforenum.spec
diff -u packages/nforenum/nforenum.spec:1.4 packages/nforenum/nforenum.spec:1.5
--- packages/nforenum/nforenum.spec:1.4 Thu Jun 17 16:24:33 2010
+++ packages/nforenum/nforenum.spec Tue Aug 17 09:35:55 2010
@@ -1,19 +1,19 @@
# $Revision$, $Date$
-%define rev 2309
Summary: Tool to create add-ons for TTDPatch and OpenTTD
Summary(pl.UTF-8): Narzędzie do tworzenia dodatków dla TTDPatch oraz OpenTTD
Name: nforenum
-Version: 3.4.6
-Release: 0.%{rev}.1
+Version: 4.0.0
+Release: 1
License: GPL v2+
Group: Applications
-Source0: http://binaries.openttd.org/extra/nforenum/r%{rev}/%{name}-r%{rev}-source.tar.bz2
-# Source0-md5: cab21665a9a14339c590a8f9981787c3
-Patch0: %{name}-cflags.patch
+Source0: http://binaries.openttd.org/extra/nforenum/%{version}/%{name}-%{version}-source.tar.gz
+# Source0-md5: 9dd7ec02f14256ca65e648b5de415eea
+Patch0: %{name}-flags.patch
URL: http://www.openttd.org/en/download-nforenum
BuildRequires: boost-devel
BuildRequires: libstdc++-devel
BuildRequires: perl-base
+BuildRequires: sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -26,37 +26,35 @@
oraz OpenTTD.
%prep
-%setup -q -n %{name}-r%{rev}
+%setup -q -n %{name}-%{version}-source
%patch0 -p1
-VER=$(awk '/VER /{print $3}' version.def)
-if [ "$VER" != "%{version}" ]; then
- : Current version is $VER, not %{version}
- exit 1
-fi
-
%build
%{__make} \
SVNVERSION="echo %{rev}" \
CC="%{__cc}" \
CXX="%{__cxx}" \
- CFLAGAPP="%{rpmcxxflags}" \
+ CXXFLAGS="%{rpmcxxflags}" \
LDOPT="%{rpmldflags}" \
V="1"
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+
+install nforenum $RPM_BUILD_ROOT%{_bindir}
+install docs/nforenum.1 $RPM_BUILD_ROOT%{_mandir}/man1
-install renum $RPM_BUILD_ROOT%{_bindir}
+gzip $RPM_BUILD_ROOT%{_mandir}/man1/nforenum.1
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc CHANGELOG.txt TODO.txt
-%attr(755,root,root) %{_bindir}/renum
+%doc changelog.txt docs/*.txt
+%attr(755,root,root) %{_bindir}/nforenum
+%{_mandir}/man1/nforenum.1*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -64,6 +62,16 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2010/08/17 07:35:55 lisu
+- updated to 4.0.0 (DEVEL merge)
+- change -cflags.patch to -flags.patch, which fixes also flags passing order
+
+Revision 1.4.2.1 2010/08/12 11:31:19 lisu
+- updated to 4.0.0-RC1
+- no more rev number in source package name
+- binary name has been changed from renum to nforenum
+- install man page
+
Revision 1.4 2010/06/17 14:24:33 sparky
- fixed source0 path
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nforenum/nforenum.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list