diff options
| -rw-r--r-- | blogc.spec.in | 32 | 
1 files changed, 29 insertions, 3 deletions
| 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 <rafael@rafaelmartins.eng.br> 0.8.1-1  - New release. | 
