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

Revision 10538, 3.3 KB checked in by tomop, 8 years ago (diff)

xalan-c-1.11.0-3

Line 
1Summary:        Xalan XSLT processor for C
2Summary(ja):    C 言語用 Xalan XSLT プロセッサ
3
4Name:           xalan-c
5Version:        1.11.0
6Release:        3%{?_dist_release}
7
8Group:          System Environment/Libraries
9License:        ASL 2.0
10URL:            http://xml.apache.org/xalan-c/
11
12Vendor:         Project Vine
13Distribution:   Vine Linux
14
15Source0:        http://www.us.apache.org/dist/xalan/xalan-c/sources/xalan_c-1.11-src.tar.gz
16Patch0:         xalan-c-1.10.0-escaping.patch
17
18BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
19BuildRequires:  xerces-c-devel
20Requires(post): /sbin/ldconfig
21Requires(postun): /sbin/ldconfig
22
23%description
24Xalan is an XSLT processor for transforming XML documents into HTML, text, or
25other XML document types.
26
27%package        devel
28Summary:        Header files, libraries for %{name}
29Summary(ja):    %{name} のヘッダファイルとライブラリ
30Group:          Development/Libraries
31Requires:       %{name} = %{version}-%{release}
32
33%description devel
34This package contains the header files, static libraries and development
35documentation for %{name}. If you like to develop programs using %{name},
36you will need to install %{name}-devel.
37
38%package doc
39Summary:        Documentation for Xalan XSLT processor
40Summary(ja):    Xalan XSLT プロセッサのドキュメント
41Group:          Documentation
42
43%description doc
44Documentation for %{name}.
45
46
47%prep
48%setup -q -n xalan-c-1.11/c
49%patch0 -p2 -b .escaping
50find -type d -name CVS -print0 | xargs -0 rm -rf
51chmod 644 NOTICE
52
53# Update config.guess for new architectures
54cp /usr/lib/rpm/config.guess config.guess
55
56
57%build
58export XALANCROOT="${PWD}"
59export XERCESROOT=%{_includedir}/xercesc/
60COMMONARGS="-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
67make
68
69
70%install
71rm -rf $RPM_BUILD_ROOT
72export XALANCROOT="${PWD}"
73export XERCESROOT=%{_includedir}/xercesc/
74make install DESTDIR=$RPM_BUILD_ROOT
75
76
77%post -p /sbin/ldconfig
78%postun -p /sbin/ldconfig
79
80
81%clean
82rm -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
Note: See TracBrowser for help on using the repository browser.