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

Revision 8810, 2.8 KB checked in by daisuke, 10 years ago (diff)

xalan-c: update to 1.11.0

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