SHA256
1
0
forked from pool/megatools

Accepting request 390849 from home:sleep_walker:branches:network:utilities

- bump to 1.9.97, bugfix release
- move libmega0 to separate subpackage

OBS-URL: https://build.opensuse.org/request/show/390849
OBS-URL: https://build.opensuse.org/package/show/network:utilities/megatools?expand=0&rev=3
This commit is contained in:
Tomas Cech 2016-04-20 17:51:35 +00:00 committed by Git OBS Bridge
parent 92a212b664
commit 14e9362718
6 changed files with 32 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a46a560c8769b40f073fd27b321d6b89f8ac0f0ca73e6ed83047c2619fe6b437
size 450706

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEABECAAYFAlUuwW0ACgkQvyMQAKe7KsFQVwCeMbVoDFAHkhKW6SsCPQkRKwvE
0hAAn2g3rxmBYIoXZHX4b8acumwFxJ5C
=HOD1
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3316c56ee55adef0ab113aad41ef95eb28fc15218639f69b1e04362b1c725af3
size 446801

View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEABECAAYFAlaw57oACgkQvyMQAKe7KsFe+QCfbhvqy7mIX0e2oOg6sLZ7zfLh
kpMAoJhXw3OND6QhUfCBxFw3q4cO1hqv
=ZRpg
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 20 16:52:58 UTC 2016 - sleep_walker@opensuse.org
- bump to 1.9.97, bugfix release
- move libmega0 to separate subpackage
-------------------------------------------------------------------
Fri Oct 9 09:31:56 UTC 2015 - sleep_walker@opensuse.org

View File

@ -18,7 +18,7 @@
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
Name: megatools
Version: 1.9.95
Version: 1.9.97
Release: 0
Summary: CLI client for mega.co.nz
License: GPL-2.0
@ -46,6 +46,7 @@ preview videos and audio files, without needing to download the entire file.
Summary: Development files for %{name}
Group: Development/Tools/Other
Requires: %{name} = %{version}
Requires: libmega0 = %{version}
Requires: glib2-devel >= 2.32.0
Requires: libcurl-devel
Requires: libopenssl-devel
@ -54,31 +55,41 @@ Requires: libopenssl-devel
The %{name}-devel package contains libraries and header files for developing
applications that use %{name}
%package -n libmega0
Summary: Dynamic library of %{name}
Group: Development/Libraries/Other
%description -n libmega0
Dynamic library part of %{name}.
%prep
%setup -q
%build
%configure --prefix=%{_prefix}
%configure
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm -vf %{buildroot}%{_libdir}/libmega*.{a,la}
%post -p /sbin/ldconfig
%post -n libmega0 -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun -n libmega0 -p /sbin/ldconfig
%files -n %{name}
%defattr(-,root,root)
%{_bindir}/mega*
%{_datadir}/doc/%{name}
%{_libdir}/libmega.so.*
%{_mandir}/man1/mega*
%{_mandir}/man5/mega*
%{_mandir}/man7/mega*
%exclude %{_datadir}/doc/%{name}/INSTALL
%files -n libmega0
%defattr(-,root,root)
%{_libdir}/libmega.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/mega