source: projects/specs/branches/6/c/clearsilver/clearsilver-vl.spec @ 3949

Revision 3949, 2.7 KB checked in by tomop, 13 years ago (diff)

clearsilver-0.10.5-5

Line 
1%define name clearsilver
2%define version 0.10.5
3%define release 5%{_dist_release}
4%define python_sitelib %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)')
5
6Summary: A fast, powerful, and language-neutral HTML template system.
7Summary(ja): 高速、パワフルで言語中立なHTMLテンプレートシステム
8Name: %{name}
9Version: %{version}
10Release: %{release}
11Source0: http://clearsilver.net/downloads/%{name}-%{version}.tar.gz
12Patch0: clearsilver-0.10.5-conf.patch
13License: Neotonic ClearSilver Software License
14Group: Applications/Documentation
15URL: http://clearsilver.net/
16
17BuildRequires: perl, ruby, ruby-devel, python-devel, zlib-devel
18BuildRoot: %{_tmppath}/%{name}-%{version}-root
19
20Vendor: Project Vine
21Distribution: Vine Linux
22
23%description
24ClearSilver is a fast, powerful, and language-neutral template system.
25It is designed to make it easy to create template driven static or
26dynamic websites.
27
28%description -l ja
29Clearsilver は高速、強力で言語中立なテンプレートシステムです。
30テンプレート駆動の静的あるいは動的な Web サイトの構築を
31容易にすることを目指して設計されています。
32
33%prep
34%setup -q
35%patch0 -p1 -b .conf
36
37perl -pi -e 's/python_versions="2\.5/python_versions="2.6 2.5/' configure
38
39%build
40%configure --disable-csharp
41
42%ifarch x86_64
43perl -pi -e 's/^(TARGETS =.+) test/$1/' cs/Makefile
44%endif
45
46%__make %{_smp_mflags}
47
48%install
49rm -rf $RPM_BUILD_ROOT
50cd ruby
51%ruby install.rb config --rb-dir=${RPM_BUILD_ROOT}%{rlibdir} --so-dir=${RPM_BUILD_ROOT}%{rarchdir}
52cd ..
53make DESTDIR=${RPM_BUILD_ROOT} install
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(-,root,root)
60%doc CS_LICENSE INSTALL LICENSE README README.python
61%{_bindir}/*
62%{_includedir}/ClearSilver/
63%{perl_sitearch}/*.pm
64%{perl_sitearch}/auto/ClearSilver/
65%{rarchdir}/*.so
66%{rlibdir}/*.rb
67%{python_sitelib}/*.so
68%{_libdir}/*.a
69%{_mandir}/man*/*.gz
70
71%changelog
72* Sun May 15 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.10.5-5
73- rebuilt with perl-5.12.3 and python-2.6.
74
75* Mon Jun 22 2009 Shu KONNO <owa@bg.wakwak.com> 0.10.5-4
76- applied new versioning policy, spec in utf-8
77
78* Mon Jul 21 2008 Shu KONNO <owa@bg.wakwak.com> 0.10.5-3
79- rebuilt with python-2.5.2
80- added clearsilver-0.10.5-conf.patch
81
82* Tue Apr 29 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 0.10.5-2
83- rebuilt with perl-5.10.0.
84
85* Mon Apr 28 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 0.10.5-1
86- x86_64: make to skip testing.
87
88* Fri Nov 09 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.10.5-0vl4
89- add --disable-csharp for configure script
90
91* Tue Aug 28 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.10.5-0vl2
92- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.