diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-04-27 21:55:21 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-04-27 21:55:21 +0200 |
commit | 88c2393ec8bc9a6d19394e6c5d0bff77368f0704 (patch) | |
tree | d2aef37a5f0112d259a3fddf33f36c158e44fbfb | |
parent | 8228eff55065858c73bea00e643b7f7f81e14ace (diff) | |
download | blogc-88c2393ec8bc9a6d19394e6c5d0bff77368f0704.tar.gz blogc-88c2393ec8bc9a6d19394e6c5d0bff77368f0704.tar.bz2 blogc-88c2393ec8bc9a6d19394e6c5d0bff77368f0704.zip |
build: support tools in spec file
-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. |