]> git.pld-linux.org Git - packages/tla.git/blobdiff - tla.spec
- rel 3; fix docs build
[packages/tla.git] / tla.spec
index 1b6fef89a2f6a15017bd28dfadf9353916a0eddb..a2ba7d32f0b4dfab02cb26396d3ebfbbc096e242 100644 (file)
--- a/tla.spec
+++ b/tla.spec
@@ -1,20 +1,19 @@
 Summary:       tla arch - revision control system
 Summary(pl):   tla arch - system kontroli wersji
 Name:          tla
-Version:       1.3
-%define        pre     pre3
-Release:       0.%{pre}.1
+Version:       1.3.3
+Release:       3
 Epoch:         1
 License:       GPL v2
 Group:         Development/Version Control
-Source0:       http://www.seyza.com/releases/%{name}-%{version}%{pre}.tar.gz
-# Source0-md5: 2e10eef523e5c14876db807057880c8b
-# http://people.debian.org/~asuffield/daily/tla/lord/
+Source0:       ftp://ftp.gnu.org/pub/gnu/gnu-arch/%{name}-%{version}.tar.gz
+# Source0-md5: 61d5dea41e071f78a8319401ee07ab0b
 Patch0:                %{name}-neon.patch
 URL:           http://www.gnu.org/software/gnu-arch/
 Requires:      diffutils
 Requires:      patch
 Requires:      tar
+BuildRequires: findutils
 BuildRequires: neon-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -36,7 +35,7 @@ projektu.
 arch w wersji tla to wersja w C wzorcowych idei arch.
 
 %prep
-%setup -q -n %{name}-%{version}%{pre}
+%setup -q
 %patch0 -p1
 
 %build
@@ -67,9 +66,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} -j1 -C src/=build install
 
-cp --recursive src/docs-tla/html html
+rm -rf html
+cp -a src/docs-tla html
+find html -type f ! -name "*.html" -exec rm -rf "{}" ";"
+find html -type d -name ".arch-ids" -exec rm -rf "{}" ";" || :
+find html -type d -name "{arch}" -exec rm -rf "{}" ";" || :
 
-rm -rf html/.arch-ids
 rm -rf $RPM_BUILD_ROOT%{_libdir}
 rm -rf $RPM_BUILD_ROOT%{_prefix}/src
 
This page took 0.074646 seconds and 4 git commands to generate.