]>
Commit | Line | Data |
---|---|---|
417cfad8 | 1 | # TODO: |
2 | # - look at examples. maybe package it, or simply include in -examples? | |
a6e731ad | 3 | %define fversion %(echo %{version} |tr . -) |
163601e3 | 4 | Summary: Axis - implementation of the SOAP submission to W3C |
6c9bfe4f | 5 | Summary(pl.UTF-8): Axis - implementacja protokołu SOAP przekazanego do W3C |
a6e731ad | 6 | Name: axis-c |
7 | Version: 1.2 | |
4762f32f | 8 | Release: 2 |
a6e731ad | 9 | License: Apache Software License |
417cfad8 | 10 | Group: Libraries |
a6e731ad | 11 | Source0: http://www.apache.org/dist/ws/axis-c/source/linux/%{name}-src-%{fversion}-linux.tar.gz |
12 | # Source0-md5: 9c68ba2f2d8029aed0694881bc2f491b | |
13 | URL: http://ws.apache.org/axis/ | |
a6e731ad | 14 | BuildRequires: apache-devel |
b5ef4134 ER |
15 | BuildRequires: apr-devel |
16 | BuildRequires: apr-util-devel | |
417cfad8 | 17 | BuildRequires: autoconf |
18 | BuildRequires: automake | |
a6e731ad | 19 | BuildRequires: expat-devel |
163601e3 | 20 | BuildRequires: libtool |
a6e731ad | 21 | BuildRequires: xerces-c-devel |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | Apache Axis is an implementation of the SOAP ("Simple Object Access | |
26 | Protocol") submission to W3C. | |
27 | ||
49316393 JR |
28 | %description -l pl.UTF-8 |
29 | Apache Axis jest implementacją SOAP ("Simple Object Access Protocol") | |
30 | przekazaną do W3C. | |
a6e731ad | 31 | |
32 | %package devel | |
163601e3 | 33 | Summary: Development files for Axis libraries |
6c9bfe4f | 34 | Summary(pl.UTF-8): Pliki programistyczne bibliotek Axis |
a6e731ad | 35 | Group: Development/Libraries |
36 | Requires: %{name} = %{version}-%{release} | |
37 | ||
38 | %description devel | |
163601e3 | 39 | Development files for Axis libraries. |
a6e731ad | 40 | |
49316393 | 41 | %description devel -l pl.UTF-8 |
163601e3 | 42 | Pliki programistyczne bibliotek Axis. |
a6e731ad | 43 | |
44 | %package static | |
163601e3 | 45 | Summary: Static Axis libraries |
6c9bfe4f | 46 | Summary(pl.UTF-8): Statyczne biblioteki Axis |
a6e731ad | 47 | Group: Development/Libraries |
48 | Requires: %{name}-devel = %{version}-%{release} | |
49 | ||
50 | %description static | |
163601e3 | 51 | Static Axis libraries. |
a6e731ad | 52 | |
49316393 | 53 | %description static -l pl.UTF-8 |
163601e3 | 54 | Statyczne biblioteki Axis. |
a6e731ad | 55 | |
56 | %prep | |
57 | %setup -q -n %{name}-src-%{fversion}-linux | |
58 | rm -rf include/expat | |
59 | ln -sf %{_includedir} include/expat | |
60 | ln -sf %{_includedir}/apache/* %{_includedir}/apr/* include/apache2_0 | |
61 | ||
62 | %build | |
63 | %{__libtoolize} | |
64 | %{__aclocal} | |
65 | %{__autoconf} | |
66 | %{__autoheader} | |
67 | %{__automake} | |
68 | CFLAGS="%{rpmcflags} -I`pwd`/include -I%{_includedir}/apr-util -I%{_includedir}/apr" | |
69 | CXXFLAGS="%{rpmcflags} -I`pwd`/include -I%{_includedir}/apr-util -I%{_includedir}/apr" | |
70 | %configure | |
71 | %{__make} \ | |
72 | AXISCPP_HOME="`pwd`" | |
73 | ||
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | install -d $RPM_BUILD_ROOT%{_includedir} | |
163601e3 | 77 | |
a6e731ad | 78 | %{__make} install \ |
79 | DESTDIR=$RPM_BUILD_ROOT | |
80 | ||
81 | cp -r include/axis $RPM_BUILD_ROOT%{_includedir} | |
417cfad8 | 82 | |
a6e731ad | 83 | %clean |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
417cfad8 | 86 | %post -p /sbin/ldconfig |
87 | %postun -p /sbin/ldconfig | |
88 | ||
a6e731ad | 89 | %files |
90 | %defattr(644,root,root,755) | |
417cfad8 | 91 | %doc LICENSE NOTICE docs/TODO.txt docs/linux docs/*.html |
a6e731ad | 92 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* |
93 | ||
94 | %files devel | |
95 | %defattr(644,root,root,755) | |
417cfad8 | 96 | %doc docs/apidocs/html docs/RFC/* docs/QnA/* |
a6e731ad | 97 | %attr(755,root,root) %{_libdir}/lib*.so |
163601e3 | 98 | %{_libdir}/lib*.la |
a6e731ad | 99 | %{_includedir}/axis |
100 | ||
101 | %files static | |
102 | %defattr(644,root,root,755) | |
103 | %{_libdir}/lib*.a |