source: projects/specs/trunk/x/xalan-c/xalan-c-vl.spec @ 9289

Revision 9289, 3.1 KB checked in by inagaki, 9 years ago (diff)

2015-01-24 Ryoichi INAGAKI <ryo1@…>

  • javapackages-tools: fixed spec
  • regexp, xml-commons-resolver: NEW
  • xalan-c, xerces-j2: updated


Line 
1Summary:        Xalan XSLT processor for C
2Summary(ja):    C 言語用 Xalan XSLT プロセッサ
3
4Name:           xalan-c
5Version:        1.11.0
6Release:        2%{?_dist_release}
7
8Group:          System Environment/Libraries
9License:        ASL 2.0
10URL:            http://xml.apache.org/xalan-c/
11Source0:        http://www.us.apache.org/dist/xalan/xalan-c/sources/xalan_c-1.11-src.tar.gz
12Patch0:         xalan-c-1.10.0-escaping.patch
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
15BuildRequires:  xerces-c-devel
16Requires(post): /sbin/ldconfig
17Requires(postun): /sbin/ldconfig
18
19%description
20Xalan is an XSLT processor for transforming XML documents into HTML, text, or
21other XML document types.
22
23%package        devel
24Summary:        Header files, libraries for %{name}
25Summary(ja):    %{name} のヘッダファイルとライブラリ
26Group:          Development/Libraries
27Requires:       %{name} = %{version}-%{release}
28
29%description devel
30This package contains the header files, static libraries and development
31documentation for %{name}. If you like to develop programs using %{name},
32you will need to install %{name}-devel.
33
34%package doc
35Summary:        Documentation for Xalan XSLT processor
36Summary(ja):    Xalan XSLT プロセッサのドキュメント
37Group:          Documentation
38
39%description doc
40Documentation for %{name}.
41
42
43%prep
44%setup -q -n xalan-c-1.11/c
45%patch0 -p2 -b .escaping
46find -type d -name CVS -print0 | xargs -0 rm -rf
47chmod 644 NOTICE
48
49# Update config.guess for new architectures
50cp /usr/lib/rpm/config.guess config.guess
51
52
53%build
54export XALANCROOT="${PWD}"
55export XERCESROOT=%{_includedir}/xercesc/
56COMMONARGS="-plinux -cgcc -xg++ -minmem"
57%ifarch alpha ppc64 s390x sparc64 x86_64
58./runConfigure ${COMMONARGS} -b64 -P %{_prefix} -C --libdir="%{_libdir}" -z '%{optflags}'
59%else
60./runConfigure ${COMMONARGS} -b32 -P %{_prefix} -C --libdir="%{_libdir}" -z '%{optflags}'
61%endif
62# _smp_mflags do not work
63make
64
65
66%install
67rm -rf $RPM_BUILD_ROOT
68export XALANCROOT="${PWD}"
69export XERCESROOT=%{_includedir}/xercesc/
70make install DESTDIR=$RPM_BUILD_ROOT
71
72
73%post -p /sbin/ldconfig
74%postun -p /sbin/ldconfig
75
76
77%clean
78rm -rf $RPM_BUILD_ROOT
79
80
81%files
82%defattr(-,root,root,-)
83%doc LICENSE KEYS NOTICE
84%{_bindir}/Xalan
85%{_libdir}/libxalan*.so.*
86
87
88%files devel
89%defattr(-,root,root,-)
90%{_libdir}/libxalan*.so
91%{_includedir}/xalanc/
92
93
94%files doc
95%defattr(-,root,root,-)
96%doc readme.html xdocs samples
97
98
99%changelog
100* Sat Jan 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.11.0-2
101- rebuilt with xerces-c 3.1.1
102- added Japanese summary
103
104* Mon Jul 14 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.11.0-1
105- update to 1.11.0
106
107* Fri Sep 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.10.0-1
108- initial build for Vine Linux
109
110* Mon Feb 11 2008 Lubomir Kundrak <lkundrak@redhat.com> 1.10.0-4
111- Rebuild for newer xerces-c
112
113* Thu Jan 03 2008 Lubomir Kundrak <lkundrak@redhat.com> 1.10.0-3
114- Adding missing includes to fix build with gcc-4.3
115
116* Mon Nov 19 2007 Lubomir Kundrak <lkundrak@redhat.com> - 1.10.0-2
117- Fix passing of compiler flags
118- Bump to stable source instead of CVS snapshot
119- Fixed License tag
120
121* Thu Feb 15 2007 Till Maas <opensource till name> - 1.10.0-1
122- Initial spec for fedora extras
Note: See TracBrowser for help on using the repository browser.