aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-01-10 02:13:25 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-01-10 02:13:32 +0100
commit6e44d82d3b3ff6f5376fdafa6ee7fa09fc4f8ffb (patch)
tree9e090d7ed0f05a51701e7447356ff4b28c27232f
parent52ee02d97169ee59072c24e2ac5d717cfaf359fc (diff)
downloadblogc-6e44d82d3b3ff6f5376fdafa6ee7fa09fc4f8ffb.tar.gz
blogc-6e44d82d3b3ff6f5376fdafa6ee7fa09fc4f8ffb.tar.bz2
blogc-6e44d82d3b3ff6f5376fdafa6ee7fa09fc4f8ffb.zip
build: added rpm spec
-rw-r--r--.gitignore1
-rw-r--r--blogc.spec.in63
-rw-r--r--configure.ac1
3 files changed, 65 insertions, 0 deletions
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 <rafael@rafaelmartins.eng.br> 0.6-1
+- New release.
+
+* Thu Dec 03 2015 Rafael G. Martins <rafael@rafaelmartins.eng.br> 0.5.1-1
+- New release.
+
+* Thu Nov 05 2015 Rafael G. Martins <rafael@rafaelmartins.eng.br> 0.5-1
+- New release.
+
+* Sun Oct 25 2015 Rafael G. Martins <rafael@rafaelmartins.eng.br> 0.4-1
+- New release.
+
+* Fri Oct 16 2015 Rafael G. Martins <rafael@rafaelmartins.eng.br> 0.3-1
+- New release.
+
+* Thu Oct 08 2015 Rafael G. Martins <rafael@rafaelmartins.eng.br> 0.2.1-1
+- New release.
+
+* Wed Sep 16 2015 Rafael G. Martins <rafael@rafaelmartins.eng.br> 0.1-1
+- First stable release.
+
+* Mon Sep 14 2015 Rafael G. Martins <rafael@rafaelmartins.eng.br> 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