forked from pool/libmicrohttpd
Accepting request 177792 from home:jengelh:branches:devel:libraries:c_c++
- More robust make install call - Remove redundant %clean section - Requires(pre) is useless without a %pre script OBS-URL: https://build.opensuse.org/request/show/177792 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmicrohttpd?expand=0&rev=20
This commit is contained in:
parent
bb8395ee80
commit
ad1f03f3f9
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 5 16:42:38 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
- More robust make install call
|
||||||
|
- Remove redundant %clean section
|
||||||
|
- Requires(pre) is useless without a %pre script
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 16 07:42:59 UTC 2013 - mvyskocil@suse.com
|
Thu May 16 07:42:59 UTC 2013 - mvyskocil@suse.com
|
||||||
|
|
||||||
|
@ -22,7 +22,11 @@
|
|||||||
Name: libmicrohttpd
|
Name: libmicrohttpd
|
||||||
Version: 0.9.27
|
Version: 0.9.27
|
||||||
Release: 0
|
Release: 0
|
||||||
|
Summary: Small Embeddable HTTP Server Library
|
||||||
|
License: LGPL-2.1+
|
||||||
|
Group: Productivity/Networking/Web/Servers
|
||||||
Url: http://gnunet.org/libmicrohttpd/
|
Url: http://gnunet.org/libmicrohttpd/
|
||||||
|
|
||||||
Source0: http://ftpmirror.gnu.org/libmicrohttpd/%{name}-%{version}.tar.gz
|
Source0: http://ftpmirror.gnu.org/libmicrohttpd/%{name}-%{version}.tar.gz
|
||||||
Source1: http://ftpmirror.gnu.org/libmicrohttpd/%{name}-%{version}.tar.gz.sig
|
Source1: http://ftpmirror.gnu.org/libmicrohttpd/%{name}-%{version}.tar.gz.sig
|
||||||
Source2: libmicrohttpd.keyring
|
Source2: libmicrohttpd.keyring
|
||||||
@ -30,7 +34,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
BuildRequires: libcurl-devel
|
BuildRequires: libcurl-devel
|
||||||
BuildRequires: libgcrypt-devel >= 1.2.4
|
BuildRequires: libgcrypt-devel >= 1.2.4
|
||||||
BuildRequires: libtasn1-devel
|
BuildRequires: libtasn1-devel
|
||||||
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
BuildRequires: libgnutls-devel
|
BuildRequires: libgnutls-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
@ -42,10 +45,6 @@ BuildRequires: gnutls-devel
|
|||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Summary: Small Embeddable HTTP Server Library
|
|
||||||
License: LGPL-2.1+
|
|
||||||
Group: Productivity/Networking/Web/Servers
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GNU libmicrohttpd is a small C library that is supposed to make it easy to run
|
GNU libmicrohttpd is a small C library that is supposed to make it easy to run
|
||||||
an HTTP server as part of another application. GNU libmicrohttpd is free software
|
an HTTP server as part of another application. GNU libmicrohttpd is free software
|
||||||
@ -105,7 +104,8 @@ application, check it out.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Requires: %{name}%{soname} = %{version}
|
Requires: %{name}%{soname} = %{version}
|
||||||
Requires(pre): info
|
Requires(post): info
|
||||||
|
Requires(postun): info
|
||||||
Summary: Small Embeddable HTTP Server Library
|
Summary: Small Embeddable HTTP Server Library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
@ -148,7 +148,7 @@ application, check it out.
|
|||||||
%__make %{?_smp_mflags}
|
%__make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
make install DESTDIR="%buildroot"
|
||||||
find %{buildroot} -name "*.la" -delete
|
find %{buildroot} -name "*.la" -delete
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -190,9 +190,6 @@ find %{buildroot} -name "*.la" -delete
|
|||||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libmicrohttpd-tutorial.info%{ext_info}
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libmicrohttpd-tutorial.info%{ext_info}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%clean
|
|
||||||
test "%{buildroot}" != "/" && %__rm -rf "%{buildroot}"
|
|
||||||
|
|
||||||
%files -n %{name}%{soname}
|
%files -n %{name}%{soname}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/%{name}.so.%{soname}
|
%{_libdir}/%{name}.so.%{soname}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user