source: projects/specs/branches/6/s/silvercity/silvercity-vl.spec @ 5581

Revision 5581, 2.1 KB checked in by Takemikaduchi, 12 years ago (diff)

rebuild packages

Line 
1%define name silvercity
2%define srcname SilverCity
3%define version 0.9.7
4%define release 3%{?_dist_release}
5%define pyexeclib %(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)')
6
7Summary: lexing analyzer for over 20 programming and markup langauges
8Summary(ja): 20 以上のプログラミング言語とマークアップ言語用の構文解析器
9Name: %{name}
10Version: %{version}
11Release: %{release}
12Source0: http://downloads.sourceforge.net/silvercity/%{srcname}-%{version}.tar.gz
13Patch0: SilverCity-0.9.7-shebang.diff
14License: redistributable
15Group: Applications/Text
16URL: http://silvercity.sourceforge.net/
17
18Requires: python
19BuildRequires: python-devel
20BuildRoot: %{_tmppath}/%{name}-%{version}-root
21
22Vendor: Project Vine
23Distribution: Vine Linux
24
25%description
26SilverCity is a lexing package, based on Scintilla,
27that can provide lexical analysis for over 20 programming
28and markup langauges.
29
30Scripting language bindings currently exist for Python.
31
32%description -l ja
33SilverCity は Scintilla ベースの構文解析器です。
3420 以上のプログラミング言語とマークアップ言語の
35構文を解析できます。
36
37スクリプト言語のバインディングは現在 Python 用のものが
38提供されています。
39
40%prep
41%setup -q -n %{srcname}-%{version}
42%patch0 -p1
43
44%build
45%{__python} setup.py build
46
47%install
48rm -rf $RPM_BUILD_ROOT
49%{__python} setup.py install --root=${RPM_BUILD_ROOT}
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(-,root,root)
56%doc LICENSE.txt
57%{_bindir}/*
58%{pyexeclib}/SilverCity/
59%{python_sitearch}/SilverCity*.egg-info
60
61%changelog
62* Sun Feb 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.7-3
63- rebuild with Vine6 environment
64
65* Sat Mar 20 2010 Shu KONNO <owa@bg.wakwak.com> 0.9.7-2
66- rebuilt with python-2.6
67
68* Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> 0.9.7-1vl5
69- rebuilt with python-2.5.2
70- applied new versioning policy and spec in utf-8
71- added pyexeclib macro
72
73* Tue Aug 28 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.9.7-0vl2
74- initial build for Vine Linux
75- add Patch0 to have cgi-styler-form.py work correctly
Note: See TracBrowser for help on using the repository browser.