]> git.pld-linux.org Git - packages/catcodec.git/commitdiff
- init
authorlisu <lisu@pld-linux.org>
Fri, 23 Apr 2010 14:18:32 +0000 (14:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    catcodec.spec -> 1.1

catcodec.spec [new file with mode: 0644]

diff --git a/catcodec.spec b/catcodec.spec
new file mode 100644 (file)
index 0000000..4be458a
--- /dev/null
@@ -0,0 +1,43 @@
+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.0
+Release:       1
+License:       GPL v2+
+Group:         Applications
+Source0:       http://binaries.openttd.org/extra/catcodec/%{version}/%{name}-%{version}-source.tar.bz2
+# Source0-md5: ca9957edf43b9c299ee415e823be0357
+Patch0:                %{name}-flags.patch
+URL:           http://www.openttd.org/en/download-catcodec
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+catcodec decodes and encodes sample catalogues for OpenTTD.
+
+%description -l pl.UTF-8
+catcodec to narzędzie do dekodowania i enkodowania katalogów
+dźwiękowych dla OpenTTD.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__make} \
+       CXX="%{__cxx}" \
+       OPTFLAGS="%{rpmcxxflags}" \
+       LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+install catcodec $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/catcodec
This page took 0.072138 seconds and 4 git commands to generate.