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