This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%define version 0.14.1 | |
Summary: CHTML to HDML,XHTML,JHTML convert module for Apache HTTPD. | |
Name: mod_chxj | |
Version: %{version} | |
Release: 1 | |
License: Apache License Version 2.0 | |
Group: System Environment/Daemons | |
Vendor: Atsushi Konno | |
URL: http://sourceforge.jp/projects/modchxj/ | |
Source: mod-chxj_%{version}.src.tar.gz | |
BuildRoot: %{_tmppath}/%{name}_%{version}-buildroot | |
Packager: Atsushi Konno <konn@users.sourceforge.jp> | |
Requires: ImageMagick >= 6.2.8.0, httpd >= 2.2.3, apr >= 1.2.7, apr-util >= 1.2.7, mysql >= 5.0.22, openssl >= 0.9.8, memcached >= 1.4.4, libmemcached >= 0.31 | |
BuildRequires: mysql-devel httpd-devel ImageMagick-devel gcc-c++ libtool openssl-devel libmemcached-devel tar | |
%description | |
The contents conversion middleware for domestic main carrying (three careers) | |
is made as a module for Apache2.0. UserAgent is seen when contents made with | |
CHTML are output and it converts it into HDML, XHTML, and JHTML (The image : | |
to JPG, GIF, JPG, GIF from PNG, and PNG and BMP). With QR code generation | |
function. | |
%prep | |
%setup -q -n mod-chxj_%{version} | |
%build | |
./configure --enable-mysql-cookie \ | |
--with-mysql-header=/usr/include/mysql \ | |
--with-mysql-lib-dir=/usr/lib64/mysql \ | |
--enable-memcache-cookie \ | |
--with-memcached-header=/usr/include/libmemcached \ | |
--with-memcached-lib-dir=/usr/lib64 | |
%{__make} | |
%install | |
%{__rm} -rf $RPM_BUILD_ROOT | |
%{__mkdir} -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d | |
%{__mkdir} -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/chxj | |
%{__mkdir} -p $RPM_BUILD_ROOT%{_libdir}/httpd/modules | |
%{__install} -m0644 support/centos/chxj.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/chxj.conf | |
%{__install} -m0644 etc/emoji.xml $RPM_BUILD_ROOT%{_sysconfdir}/httpd/chxj/emoji.xml | |
%{__install} -m0644 etc/device_data.xml $RPM_BUILD_ROOT%{_sysconfdir}/httpd/chxj/device_data.xml | |
%{__make} -C src make_so | |
%{__install} -m0755 src/mod_chxj.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules/mod_chxj.so | |
%files | |
%defattr(-, root, root) | |
%doc AUTHORS ChangeLog COPYING | |
%config(noreplace) %{_sysconfdir}/httpd/conf.d/chxj.conf | |
%config(noreplace) %{_sysconfdir}/httpd/chxj/emoji.xml | |
%config(noreplace) %{_sysconfdir}/httpd/chxj/device_data.xml | |
%{_libdir}/httpd/modules/mod_chxj.so | |
%changelog | |
* Wed Sep 23 2015 Kazuki Hashimoto <eru.tndl@gmail.com> 0.14.1 | |
- Changed libmemcaced use package. | |
* Fri Mar 4 2011 Atsushi Konno <konn@users.sourceforge.jp> 0.13.0 | |
- Changed libmemcached version. | |
* Fri Nov 7 2008 Atsushi Konno <konn@users.sourceforge.jp> 0.12.17-1 | |
- Added initial package for CentOS5.1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment