source: projects/specs/trunk/c/clearsilver/clearsilver-vl.spec @ 9165

Revision 9165, 3.8 KB checked in by inagaki, 9 years ago (diff)

2014-12-18 Ryoichi INAGAKI <ryo1@…>

  • clearsilver, perl-AppConfig?, perl-Class-Inner, perl-DateTime?-{Calendar-Mayan, Locale}, perl-Goo-Canvas, perl-Test-Unit: rebuilt
  • perl-DateTime?, perl-Test-Manifest: updated


Line 
1%define name clearsilver
2%define version 0.10.5
3%define release 9%{_dist_release}
4
5Summary: A fast, powerful, and language-neutral HTML template system.
6Summary(ja): 高速、パワフルで言語中立なHTMLテンプレートシステム
7Name: %{name}
8Version: %{version}
9Release: %{release}
10
11License: Neotonic ClearSilver Software License
12Group: Applications/Text
13URL: http://clearsilver.net/
14
15Source0: http://clearsilver.net/downloads/%{name}-%{version}.tar.gz
16Patch0: clearsilver-0.10.5-conf.patch
17Patch1: clearsilver-0.10.5-regression.patch
18Patch2: clearsilver-0.10.5-CVE-2011-4357.patch
19Patch3: clearsilver-ruby-1.9.patch
20
21BuildRoot: %{_tmppath}/%{name}-%{version}-root
22BuildRequires: perl
23BuildRequires: python-devel
24BuildRequires: ruby
25BuildRequires: ruby-devel >= 1.9.3
26BuildRequires: zlib-devel
27Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
28Provides: ruby(clearsilver)
29
30Vendor: Project Vine
31Distribution: Vine Linux
32
33%description
34ClearSilver is a fast, powerful, and language-neutral template system.
35It is designed to make it easy to create template driven static or
36dynamic websites.
37
38%description -l ja
39Clearsilver は高速、強力で言語中立なテンプレートシステムです。
40テンプレート駆動の静的あるいは動的な Web サイトの構築を
41容易にすることを目指して設計されています。
42
43%prep
44%setup -q
45%patch0 -p1 -b .conf
46%patch1 -p1
47%patch2 -p1
48%patch3 -p1
49touch configure
50perl -pi -e 's/python_versions="2\.5/python_versions="2.7 2.6 2.5/' configure
51sed -i 's|/neo/opt/bin/python|%{__python}|' python/examples/*/*.py
52sed -i 's|PYTHON_SITE = @PYTHON_SITE@|PYTHON_SITE = %{python_sitearch}|' rules.mk.in
53find python/examples -type f | xargs chmod -x
54
55
56%build
57%configure --disable-csharp
58
59%ifarch x86_64
60perl -pi -e 's/^(TARGETS =.+) test/$1/' cs/Makefile
61%endif
62
63%__make %{_smp_mflags}
64
65%install
66rm -rf $RPM_BUILD_ROOT
67cd ruby
68%ruby install.rb config --rb-dir=${RPM_BUILD_ROOT}%{ruby_vendorlibdir} --so-dir=${RPM_BUILD_ROOT}%{ruby_vendorarchdir}
69cd ..
70make DESTDIR=${RPM_BUILD_ROOT} install
71
72find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
73find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
74find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%files
80%defattr(-,root,root)
81%doc CS_LICENSE INSTALL LICENSE README README.python
82%{_bindir}/*
83%{_includedir}/ClearSilver/
84%{perl_sitearch}/*.pm
85%{perl_sitearch}/auto/ClearSilver/
86%{ruby_vendorarchdir}/*.so
87%{ruby_vendorlibdir}/*.rb
88%{python_sitearch}/*.so
89%{_libdir}/*.a
90%{_mandir}/man*/*.gz
91
92%changelog
93* Wed Dec 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.10.5-9
94- rebuilt with perl 5.16.3 and ruby 2.1.5
95
96* Sun Dec 08 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.10.5-8
97- rebuilt with ruby-2.0.0.353.
98
99* Thu Oct 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.5-7
100- rebuild with ruby-1.9.3
101- add patch3 to build with ruby-1.9
102- add patch2 for CVE-2011-4357
103
104* Sat Feb 25 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.10.5-6
105- rebuilt with python-2.7.
106
107* Sun May 15 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.10.5-5
108- rebuilt with perl-5.12.3 and python-2.6.
109
110* Mon Jun 22 2009 Shu KONNO <owa@bg.wakwak.com> 0.10.5-4
111- applied new versioning policy, spec in utf-8
112
113* Mon Jul 21 2008 Shu KONNO <owa@bg.wakwak.com> 0.10.5-3
114- rebuilt with python-2.5.2
115- added clearsilver-0.10.5-conf.patch
116
117* Tue Apr 29 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 0.10.5-2
118- rebuilt with perl-5.10.0.
119
120* Mon Apr 28 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 0.10.5-1
121- x86_64: make to skip testing.
122
123* Fri Nov 09 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.10.5-0vl4
124- add --disable-csharp for configure script
125
126* Tue Aug 28 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.10.5-0vl2
127- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.