[remake] Initial import.

Jerry James jjames at fedoraproject.org
Mon Apr 22 15:30:59 UTC 2013


commit e308d4055785a929d589fe7622e5bc6c92d7a687
Author: Jerry James <jamesjer at betterlinux.com>
Date:   Mon Apr 22 09:30:49 2013 -0600

    Initial import.

 .gitignore  |    1 +
 remake.spec |   68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3f07bf4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/remake-0.4.tar.gz
diff --git a/remake.spec b/remake.spec
new file mode 100644
index 0000000..5130f8b
--- /dev/null
+++ b/remake.spec
@@ -0,0 +1,68 @@
+Name:           remake
+Version:        0.4
+Release:        3%{?dist}
+Summary:        Build system that bridges the gap between make and redo
+
+License:        GPLv3+
+URL:            https://github.com/silene/%{name}
+Source0:        https://github.com/silene/%{name}/archive/%{name}-%{version}.tar.gz
+
+BuildRequires:  doxygen
+
+%description
+Remake is a build system with features of both make and redo.  See the
+documentation for details on usage and control file syntax.
+
+%package doc
+Summary:        Documentation for %{name}
+Requires:       %{name} = %{version}-%{release}
+BuildArch:      noarch
+
+%description doc
+Documentation for using and developing %{name}.
+
+%prep
+%setup -q -n %{name}-%{name}-%{version}
+
+# Fix a broken doxygen link
+sed 's/#finalize_job/#server_loop/' remake.cpp > remake.cpp.new
+touch -r remake.cpp remake.cpp.new
+mv -f remake.cpp.new remake.cpp
+
+%build
+g++ $RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -o remake remake.cpp \
+    $RPM_LD_FLAGS
+doxygen
+
+%install
+# Install the binary
+mkdir -p %{buildroot}%{_bindir}
+install -pm 0755 remake %{buildroot}%{_bindir}
+
+# Install the doxygen documentation
+mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}
+cp -a doxydoc/html %{buildroot}%{_docdir}/%{name}-%{version}
+
+%check
+cd testsuite
+./all.sh
+
+%files
+%doc README.md
+%exclude  %{_docdir}/%{name}-%{version}/html
+%{_bindir}/%{name}
+
+%files doc
+%doc %{_docdir}/%{name}-%{version}
+%exclude %{_docdir}/%{name}-%{version}/README.md
+
+%changelog
+* Wed Apr 17 2013 Jerry James <loganjerry at gmail.com> - 0.4-3
+- Use a tagged tarball instead of one derived from a git commit
+- Split documentation out into a subpackage
+
+* Tue Apr 16 2013 Jerry James <loganjerry at gmail.com> - 0.4-2
+- Ship doxygen documentation
+
+* Mon Apr  8 2013 Jerry James <loganjerry at gmail.com> - 0.4-1
+- Initial RPM
diff --git a/sources b/sources
index e69de29..43abc5f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+afc58a308aa28618a1417acf28ae118b  remake-0.4.tar.gz


More information about the scm-commits mailing list