From 6e44d82d3b3ff6f5376fdafa6ee7fa09fc4f8ffb Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 10 Jan 2016 02:13:25 +0100 Subject: build: added rpm spec --- .gitignore | 1 + blogc.spec.in | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 1 + 3 files changed, 65 insertions(+) create mode 100644 blogc.spec.in diff --git a/.gitignore b/.gitignore index 65e51f1..2ccfd38 100644 --- a/.gitignore +++ b/.gitignore @@ -60,4 +60,5 @@ blogc-*.tar.* blogc-*.zip # rpms +blogc.spec blogc-*.rpm diff --git a/blogc.spec.in b/blogc.spec.in new file mode 100644 index 0000000..96df668 --- /dev/null +++ b/blogc.spec.in @@ -0,0 +1,63 @@ +Name: blogc +Version: @PACKAGE_VERSION@ +Release: 1%{?dist} +License: BSD +Group: Applications/Text +Summary: A blog compiler +URL: http://blogc.org/ +Source0: https://github.com/blogc/blogc/releases/download/v%{version}/blogc-%{version}.tar.xz + +#BuildRequires: +#Requires: + +%description +blogc(1) is a blog compiler. It converts source files and templates into +blog/website resources. + + +%prep +%setup -q -n blogc-%{version} + + +%build +%configure +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +%make_install + + +%files +%{_mandir}/man*/blogc* +%{_bindir}/blogc + +%doc README.md +%license LICENSE + + +%changelog +* Thu Jan 07 2016 Rafael G. Martins 0.6-1 +- New release. + +* Thu Dec 03 2015 Rafael G. Martins 0.5.1-1 +- New release. + +* Thu Nov 05 2015 Rafael G. Martins 0.5-1 +- New release. + +* Sun Oct 25 2015 Rafael G. Martins 0.4-1 +- New release. + +* Fri Oct 16 2015 Rafael G. Martins 0.3-1 +- New release. + +* Thu Oct 08 2015 Rafael G. Martins 0.2.1-1 +- New release. + +* Wed Sep 16 2015 Rafael G. Martins 0.1-1 +- First stable release. + +* Mon Sep 14 2015 Rafael G. Martins 0.1-0.1.beta4 +- Initial package. diff --git a/configure.ac b/configure.ac index ffb61ac..5f6859f 100644 --- a/configure.ac +++ b/configure.ac @@ -101,6 +101,7 @@ LT_LIB_M AC_CONFIG_FILES([ Makefile + blogc.spec ]) AC_OUTPUT -- cgit v1.2.3-18-g5258