[packages/glib-openssl] - new
qboosh
qboosh at pld-linux.org
Sat Jul 29 16:14:44 CEST 2017
commit 24be1c953010f266038e7572cc029c60d7dd1657
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Jul 29 16:16:35 2017 +0200
- new
glib-openssl.spec | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
---
diff --git a/glib-openssl.spec b/glib-openssl.spec
new file mode 100644
index 0000000..8573841
--- /dev/null
+++ b/glib-openssl.spec
@@ -0,0 +1,62 @@
+Summary: Network extensions for GLib using OpenSSL
+Summary(pl.UTF-8): Rozszerzenia sieciowe biblioteki GLib wykorzystujące OpenSSL
+Name: glib-openssl
+Version: 2.50.3
+Release: 1
+License: LGPL v2+
+Group: Libraries
+Source0: http://ftp.gnome.org/pub/GNOME/sources/glib-openssl/2.50/%{name}-%{version}.tar.xz
+# Source0-md5: bd4746fcd00bf338af538bd765413a5b
+URL: https://github.com/GNOME/glib-openssl
+BuildRequires: autoconf >= 2.65
+BuildRequires: automake >= 1:1.11
+BuildRequires: gettext-tools >= 0.19.4
+BuildRequires: glib2-devel >= 1:2.46.0
+BuildRequires: libtool >= 2:2
+BuildRequires: openssl-devel
+BuildRequires: pkgconfig
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires: glib2 >= 1:2.46.0
+Suggests: ca-certificates
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Network extensions for GLib using OpenSSL.
+
+%description -l pl.UTF-8
+Rozszerzenia sieciowe biblioteki GLib wykorzystujące OpenSSL.
+
+%prep
+%setup -q
+
+%build
+# rebuild for as-needed to work
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+ --disable-silent-rules \
+ --disable-static \
+ --with-ca-certificates=/etc/certs/ca-certificates.crt
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/gio/modules/libgioopenssl.la
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc NEWS README
+%attr(755,root,root) %{_libdir}/gio/modules/libgioopenssl.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/glib-openssl.git/commitdiff/24be1c953010f266038e7572cc029c60d7dd1657
More information about the pld-cvs-commit
mailing list