--- catcodec-1.0.1/Makefile~ 2010-08-25 18:39:16.000000000 +0200
+++ catcodec-1.0.1/Makefile 2010-09-02 14:58:19.162337310 +0200
-@@ -21,7 +21,7 @@
-
- # Add some default CXXFLAGS only if there aren't dictated from the outside
- ifndef CXXFLAGS
-- CXXFLAGS = -Wall -Wcast-qual -Wwrite-strings
-+ CXXFLAGS = -Wall -Wcast-qual -Wwrite-strings $(OPTFLAGS)
- endif
-
- # Regardless of the warning settings, we really do not want these errors.
@@ -39,7 +39,7 @@
$(CATCODEC): $(OBJS:%=objs/%)
Summary: Tool for decode and encode sample catalogues for OpenTTD
Summary(pl.UTF-8): Narzędzie do dekodowania oraz enkodowania katalogów dźwiękowych dla OpenTTD
Name: catcodec
-Version: 1.0.3
+Version: 1.0.5
Release: 1
License: GPL v2+
Group: Applications
-Source0: http://cz.binaries.openttd.org/openttd/binaries/extra/catcodec/%{version}/%{name}-%{version}-source.tar.bz2
-# Source0-md5: 31196e261f7216ecea300e8807693401
+Source0: https://cdn.openttd.org/catcodec-releases/%{version}/%{name}-%{version}-source.tar.xz
+# Source0-md5: 732af1bbe83ffdde17dc10703896472d
Patch0: %{name}-flags.patch
URL: http://www.openttd.org/en/download-catcodec
BuildRequires: libstdc++-devel
%build
%{__make} \
CXX="%{__cxx}" \
- OPTFLAGS="%{rpmcxxflags}" \
+ CXXFLAGS="%{rpmcxxflags}" \
LDFLAGS="%{rpmldflags}" \
VERBOSE="on"