1 |
%define major 1 |
%define major 1 |
2 |
%define libname evhtp-lib |
%define libname evhtp-lib |
3 |
%define develname evhtp-devel |
%define develname evhtp-devel |
4 |
%define release 3 |
%define release 4 |
5 |
|
|
6 |
Name: libevhtp |
Name: libevhtp |
7 |
Version: 1.2.11n |
Version: 1.2.11n |
63 |
|
|
64 |
%prep |
%prep |
65 |
%setup -q |
%setup -q |
66 |
%autopatch -p1 |
%patch0 -p1 |
67 |
|
%patch1 -p1 |
68 |
|
|
69 |
%build |
%build |
70 |
%cmake -DEVHTP_BUILD_SHARED:STRING=ON |
%cmake -DEVHTP_BUILD_SHARED:STRING=ON |
77 |
%doc ChangeLog README.markdown |
%doc ChangeLog README.markdown |
78 |
%doc LICENSE |
%doc LICENSE |
79 |
%{_libdir}/libevhtp.so.%{major}.* |
%{_libdir}/libevhtp.so.%{major}.* |
80 |
|
%{_libdir}/libevhtp.so* |
81 |
|
|
82 |
%files -n %{libname} |
%files -n %{libname} |
83 |
%{_libdir}/libevhtp.so.%{major}.* |
%{_libdir}/libevhtp.so.%{major}.* |
84 |
|
%{_libdir}/libevhtp.so* |
85 |
|
|
86 |
%files -n %{develname} |
%files -n %{develname} |
87 |
%doc ChangeLog README.markdown |
%doc ChangeLog README.markdown |
88 |
%doc LICENSE |
%doc LICENSE |
89 |
%{_includedir}/evhtp/ |
%{_includedir}/evhtp/ |
90 |
%{_libdir}/libevhtp.so |
%{_libdir}/libevhtp.so |
91 |
%{_prefix}/lib/pkgconfig/evhtp.pc |
%{_libdir}/pkgconfig/evhtp.pc |
|
#%{_libdir}/pkgconfig/evhtp.pc |
|
92 |
|
|
93 |
|
|
94 |
%changelog |
%changelog |
95 |
|
* Wed Feb 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> Version: 1.2.11n-4.sme |
96 |
|
- improve patch for internal-header-files-path |
97 |
|
|
98 |
* Mon Feb 19 2018 Jean-Philippe Pialasse <tests@pialasse.com> - 1.2.11n-3 |
* Mon Feb 19 2018 Jean-Philippe Pialasse <tests@pialasse.com> - 1.2.11n-3 |
99 |
- first import for SME Server |
- first import for SME Server |
100 |
- tidy the spec file to get it build with mock |
- tidy the spec file to get it build with mock |