123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- %define name clearsilver
- %define version 0.10.5
- %define release 4%{_dist_release}
- %define python_sitelib %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)')
- Summary: A fast, powerful, and language-neutral HTML template system.
- Summary(ja): 高速、パワフルで言語中立なHTMLテンプレートシステム
- Name: %{name}
- Version: %{version}
- Release: %{release}
- Source0: http://clearsilver.net/downloads/%{name}-%{version}.tar.gz
- Patch0: clearsilver-0.10.5-conf.patch
- License: Neotonic ClearSilver Software License
- Group: Applications/Documentation
- URL: http://clearsilver.net/
- BuildRequires: perl, ruby-devel, python-devel, zlib-devel
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- Vendor: Project Vine
- Distribution: Vine Linux
- %description
- ClearSilver is a fast, powerful, and language-neutral template system.
- It is designed to make it easy to create template driven static or
- dynamic websites.
- %description -l ja
- Clearsilver は高速、強力で言語中立なテンプレートシステムです。
- テンプレート駆動の静的あるいは動的な Web サイトの構築を
- 容易にすることを目指して設計されています。
- %prep
- %setup -q
- %patch0 -p1 -b .conf
- %build
- %configure --disable-csharp
- %ifarch x86_64
- perl -pi -e 's/^(TARGETS =.+) test/$1/' cs/Makefile
- %endif
- %__make %{_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- cd ruby
- %ruby install.rb config --rb-dir=${RPM_BUILD_ROOT}%{rlibdir} --so-dir=${RPM_BUILD_ROOT}%{rarchdir}
- cd ..
- make DESTDIR=${RPM_BUILD_ROOT} install
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-,root,root)
- %doc CS_LICENSE INSTALL LICENSE README README.python
- %{_bindir}/*
- %{_includedir}/ClearSilver/
- %{perl_sitearch}/*.pm
- %{perl_sitearch}/auto/ClearSilver/
- %{rarchdir}/*.so
- %{rlibdir}/*.rb
- %{python_sitelib}/*.so
- %{_libdir}/*.a
- %{_mandir}/man*/*.gz
- %changelog
- * Mon Jun 22 2009 Shu KONNO <owa@bg.wakwak.com> 0.10.5-4
- - applied new versioning policy, spec in utf-8
- * Mon Jul 21 2008 Shu KONNO <owa@bg.wakwak.com> 0.10.5-3
- - rebuilt with python-2.5.2
- - added clearsilver-0.10.5-conf.patch
- * Tue Apr 29 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 0.10.5-2
- - rebuilt with perl-5.10.0.
- * Mon Apr 28 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 0.10.5-1
- - x86_64: make to skip testing.
- * Fri Nov 09 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.10.5-0vl4
- - add --disable-csharp for configure script
- * Tue Aug 28 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.10.5-0vl2
- - initial build for Vine Linux
|