From 146a058ce3fa4d8a736d6a883e90a4e0f473aeb2 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 21 Feb 2016 00:39:21 +0100 Subject: build: spec improvements --- blogc.spec.in | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'blogc.spec.in') diff --git a/blogc.spec.in b/blogc.spec.in index 3d76ecb..f63daf3 100644 --- a/blogc.spec.in +++ b/blogc.spec.in @@ -7,28 +7,21 @@ Summary: A blog compiler URL: @PACKAGE_URL@ 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} - +%setup -q %build %configure make %{?_smp_mflags} - %install rm -rf $RPM_BUILD_ROOT %make_install - %files %{_mandir}/man*/blogc* %{_bindir}/blogc @@ -36,7 +29,6 @@ rm -rf $RPM_BUILD_ROOT %doc README.md %license LICENSE - %changelog * Mon Jan 25 2016 Rafael G. Martins 0.7.2-1 - New release. -- cgit v1.2.3-18-g5258 From 9d5dd44c68aefa006d06fbff55756a070a84b55b Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 21 Feb 2016 00:49:07 +0100 Subject: build: version bump --- blogc.spec.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'blogc.spec.in') diff --git a/blogc.spec.in b/blogc.spec.in index f63daf3..2716c0a 100644 --- a/blogc.spec.in +++ b/blogc.spec.in @@ -30,6 +30,9 @@ rm -rf $RPM_BUILD_ROOT %license LICENSE %changelog +* Sat Feb 20 2016 Rafael G. Martins 0.7.3-1 +- New release. + * Mon Jan 25 2016 Rafael G. Martins 0.7.2-1 - New release. -- cgit v1.2.3-18-g5258 From 2e62517084aa345181b8def833245053f1033f6f Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 21 Feb 2016 15:19:29 +0100 Subject: build: version bump --- blogc.spec.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'blogc.spec.in') diff --git a/blogc.spec.in b/blogc.spec.in index 2716c0a..9472f2e 100644 --- a/blogc.spec.in +++ b/blogc.spec.in @@ -30,6 +30,9 @@ rm -rf $RPM_BUILD_ROOT %license LICENSE %changelog +* Sun Feb 21 2016 Rafael G. Martins 0.7.4-1 +- New release. + * Sat Feb 20 2016 Rafael G. Martins 0.7.3-1 - New release. -- cgit v1.2.3-18-g5258 From bdff66b0013165c3ef7eff644fb276235f3dd082 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 21 Feb 2016 16:46:25 +0100 Subject: build: version bump --- blogc.spec.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'blogc.spec.in') diff --git a/blogc.spec.in b/blogc.spec.in index 9472f2e..5d9cbff 100644 --- a/blogc.spec.in +++ b/blogc.spec.in @@ -30,6 +30,9 @@ rm -rf $RPM_BUILD_ROOT %license LICENSE %changelog +* Sun Feb 21 2016 Rafael G. Martins 0.7.5-1 +- New release. + * Sun Feb 21 2016 Rafael G. Martins 0.7.4-1 - New release. -- cgit v1.2.3-18-g5258 From 2d179ff17bc93c49eb58d820bdf2942face1deb3 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Mon, 29 Feb 2016 03:14:36 +0100 Subject: build: version bump --- blogc.spec.in | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'blogc.spec.in') diff --git a/blogc.spec.in b/blogc.spec.in index 5d9cbff..2f3b787 100644 --- a/blogc.spec.in +++ b/blogc.spec.in @@ -1,11 +1,13 @@ -Name: @PACKAGE_NAME@ -Version: @PACKAGE_VERSION@ -Release: 1%{?dist} -License: BSD -Group: Applications/Text -Summary: A blog compiler -URL: @PACKAGE_URL@ -Source0: https://github.com/blogc/blogc/releases/download/v%{version}/blogc-%{version}.tar.xz +Name: @PACKAGE_NAME@ +Version: @PACKAGE_VERSION@ +Release: 1%{?dist} +License: BSD +Group: Applications/Text +Summary: A blog compiler +URL: @PACKAGE_URL@ +Source0: https://github.com/blogc/blogc/releases/download/v%{version}/blogc-%{version}.tar.xz + +BuildRequires: squareball-devel %description blogc(1) is a blog compiler. It converts source files and templates into @@ -30,6 +32,9 @@ rm -rf $RPM_BUILD_ROOT %license LICENSE %changelog +* Mon Feb 29 2016 Rafael G. Martins 0.7.6-1 +- New release. Added new dependency. + * Sun Feb 21 2016 Rafael G. Martins 0.7.5-1 - New release. -- cgit v1.2.3-18-g5258 From f7034a9c4e26933bceb9b80c6ef492b731df3d73 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Mon, 29 Feb 2016 03:28:23 +0100 Subject: build: rpm: do not use bundled squareball --- blogc.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'blogc.spec.in') diff --git a/blogc.spec.in b/blogc.spec.in index 2f3b787..1b10635 100644 --- a/blogc.spec.in +++ b/blogc.spec.in @@ -17,7 +17,7 @@ blog/website resources. %setup -q %build -%configure +%configure --with-squareball=system make %{?_smp_mflags} %install -- cgit v1.2.3-18-g5258 From 3ca82ea98fc46e3365c514aa3398f54df91bf329 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Tue, 8 Mar 2016 04:44:43 +0100 Subject: build: added make rule to build srpm --- blogc.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'blogc.spec.in') diff --git a/blogc.spec.in b/blogc.spec.in index 1b10635..dc3983e 100644 --- a/blogc.spec.in +++ b/blogc.spec.in @@ -1,11 +1,11 @@ Name: @PACKAGE_NAME@ -Version: @PACKAGE_VERSION@ +Version: @RPM_VERSION@ Release: 1%{?dist} License: BSD Group: Applications/Text Summary: A blog compiler URL: @PACKAGE_URL@ -Source0: https://github.com/blogc/blogc/releases/download/v%{version}/blogc-%{version}.tar.xz +Source0: https://github.com/blogc/blogc/releases/download/v@PACKAGE_VERSION@/blogc-@PACKAGE_VERSION@.tar.xz BuildRequires: squareball-devel -- cgit v1.2.3-18-g5258 From 06db24fefadef5056cc2e14b9791a95614ba9ff2 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Wed, 9 Mar 2016 03:44:56 +0100 Subject: spec: fixed source dir --- blogc.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'blogc.spec.in') diff --git a/blogc.spec.in b/blogc.spec.in index dc3983e..142e4f0 100644 --- a/blogc.spec.in +++ b/blogc.spec.in @@ -14,7 +14,7 @@ blogc(1) is a blog compiler. It converts source files and templates into blog/website resources. %prep -%setup -q +%setup -q -n @PACKAGE_NAME@-@PACKAGE_VERSION@ %build %configure --with-squareball=system -- cgit v1.2.3-18-g5258 From 6a19a55497730354f0545fbaf3ce99b4d942dbb7 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Fri, 8 Apr 2016 01:49:29 +0200 Subject: spec: restrict squareball dependency --- blogc.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'blogc.spec.in') diff --git a/blogc.spec.in b/blogc.spec.in index 142e4f0..2811f3e 100644 --- a/blogc.spec.in +++ b/blogc.spec.in @@ -7,7 +7,7 @@ Summary: A blog compiler URL: @PACKAGE_URL@ Source0: https://github.com/blogc/blogc/releases/download/v@PACKAGE_VERSION@/blogc-@PACKAGE_VERSION@.tar.xz -BuildRequires: squareball-devel +BuildRequires: squareball-devel >= 0.2.0 %description blogc(1) is a blog compiler. It converts source files and templates into -- cgit v1.2.3-18-g5258 From c216deff59e2c0dd9538ced99d6b579013b3b5de Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 17 Apr 2016 04:12:08 +0200 Subject: build: version bump --- blogc.spec.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'blogc.spec.in') diff --git a/blogc.spec.in b/blogc.spec.in index 2811f3e..adec43a 100644 --- a/blogc.spec.in +++ b/blogc.spec.in @@ -32,6 +32,12 @@ rm -rf $RPM_BUILD_ROOT %license LICENSE %changelog +* Sun Apr 17 2016 Rafael G. Martins 0.8.1-1 +- New release. + +* Wed Apr 6 2016 Rafael G. Martins 0.8.0-1 +- New release. + * Mon Feb 29 2016 Rafael G. Martins 0.7.6-1 - New release. Added new dependency. -- cgit v1.2.3-18-g5258 From 9699bf0ce6b34c0d05c509925f3367f2200caad5 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Wed, 27 Apr 2016 02:34:19 +0200 Subject: remove squareball for good --- blogc.spec.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'blogc.spec.in') diff --git a/blogc.spec.in b/blogc.spec.in index adec43a..cc39b12 100644 --- a/blogc.spec.in +++ b/blogc.spec.in @@ -7,8 +7,6 @@ Summary: A blog compiler URL: @PACKAGE_URL@ Source0: https://github.com/blogc/blogc/releases/download/v@PACKAGE_VERSION@/blogc-@PACKAGE_VERSION@.tar.xz -BuildRequires: squareball-devel >= 0.2.0 - %description blogc(1) is a blog compiler. It converts source files and templates into blog/website resources. @@ -17,7 +15,7 @@ blog/website resources. %setup -q -n @PACKAGE_NAME@-@PACKAGE_VERSION@ %build -%configure --with-squareball=system +%configure make %{?_smp_mflags} %install -- cgit v1.2.3-18-g5258 From 88c2393ec8bc9a6d19394e6c5d0bff77368f0704 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Wed, 27 Apr 2016 21:55:21 +0200 Subject: build: support tools in spec file --- blogc.spec.in | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) (limited to 'blogc.spec.in') diff --git a/blogc.spec.in b/blogc.spec.in index cc39b12..85b41c1 100644 --- a/blogc.spec.in +++ b/blogc.spec.in @@ -6,16 +6,33 @@ Group: Applications/Text Summary: A blog compiler URL: @PACKAGE_URL@ Source0: https://github.com/blogc/blogc/releases/download/v@PACKAGE_VERSION@/blogc-@PACKAGE_VERSION@.tar.xz +BuildRequires: libevent-devel >= 2.0, file-devel %description blogc(1) is a blog compiler. It converts source files and templates into blog/website resources. +%package git-receiver +Summary: A simple login shell/git hook to deploy blogc websites +Group: System Environment/Shells +Requires: git, tar, make + +%description git-receiver +blogc-git-receiver is a simple login shell/git hook to deploy blogc websites. + +%package runserver +Summary: A simple HTTP server to test blogc websites +Group: Development/Tools +Requires: libevent >= 2.0, file-libs + +%description runserver +blogc-runserver is a simple HTTP server to test blogc websites. + %prep %setup -q -n @PACKAGE_NAME@-@PACKAGE_VERSION@ %build -%configure +%configure --enable-git-receiver --enable-runserver make %{?_smp_mflags} %install @@ -23,12 +40,21 @@ rm -rf $RPM_BUILD_ROOT %make_install %files -%{_mandir}/man*/blogc* +%{_mandir}/man*/blogc.* +%{_mandir}/man*/blogc-source.* +%{_mandir}/man*/blogc-template.* %{_bindir}/blogc - %doc README.md %license LICENSE +%files git-receiver +%{_bindir}/blogc-git-receiver +%license LICENSE + +%files runserver +%{_bindir}/blogc-runserver +%license LICENSE + %changelog * Sun Apr 17 2016 Rafael G. Martins 0.8.1-1 - New release. -- cgit v1.2.3-18-g5258 From ca6fb024c9632b73713432e30fce978a99f42213 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Fri, 29 Apr 2016 00:57:10 +0200 Subject: man: added man page for blogc-git-receiver --- blogc.spec.in | 1 + 1 file changed, 1 insertion(+) (limited to 'blogc.spec.in') diff --git a/blogc.spec.in b/blogc.spec.in index 85b41c1..65af54f 100644 --- a/blogc.spec.in +++ b/blogc.spec.in @@ -48,6 +48,7 @@ rm -rf $RPM_BUILD_ROOT %license LICENSE %files git-receiver +%{_mandir}/man*/blogc-git-receiver.* %{_bindir}/blogc-git-receiver %license LICENSE -- cgit v1.2.3-18-g5258 From d4003fcfc88df94831cb4a20e890816954f64129 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Fri, 29 Apr 2016 01:17:38 +0200 Subject: man: added man page for blogc-runserver --- blogc.spec.in | 1 + 1 file changed, 1 insertion(+) (limited to 'blogc.spec.in') diff --git a/blogc.spec.in b/blogc.spec.in index 65af54f..292ed17 100644 --- a/blogc.spec.in +++ b/blogc.spec.in @@ -53,6 +53,7 @@ rm -rf $RPM_BUILD_ROOT %license LICENSE %files runserver +%{_mandir}/man*/blogc-runserver.* %{_bindir}/blogc-runserver %license LICENSE -- cgit v1.2.3-18-g5258 From 3d6d3ee2999e355b3eaa465a69b5905cd67a8e25 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sat, 30 Apr 2016 03:06:28 +0200 Subject: build: version bump --- blogc.spec.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'blogc.spec.in') diff --git a/blogc.spec.in b/blogc.spec.in index 292ed17..35615d8 100644 --- a/blogc.spec.in +++ b/blogc.spec.in @@ -58,6 +58,9 @@ rm -rf $RPM_BUILD_ROOT %license LICENSE %changelog +* Sat Apr 30 2016 Rafael G. Martins 0.9.0-1 +- New release. Merged blogc-git-receiver and blogc-runserver. + * Sun Apr 17 2016 Rafael G. Martins 0.8.1-1 - New release. -- cgit v1.2.3-18-g5258 From 4230e93c64c78ca4276a164704c8dc8a67e466e1 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sat, 30 Apr 2016 15:33:36 +0200 Subject: spec: install blogc-pagination(7) --- blogc.spec.in | 1 + 1 file changed, 1 insertion(+) (limited to 'blogc.spec.in') diff --git a/blogc.spec.in b/blogc.spec.in index 35615d8..534b5c1 100644 --- a/blogc.spec.in +++ b/blogc.spec.in @@ -43,6 +43,7 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man*/blogc.* %{_mandir}/man*/blogc-source.* %{_mandir}/man*/blogc-template.* +%{_mandir}/man*/blogc-pagination.* %{_bindir}/blogc %doc README.md %license LICENSE -- cgit v1.2.3-18-g5258