| |
@@ -1,18 +1,19 @@
|
| |
Name: libstorj
|
| |
- Version: 1.0.2
|
| |
- Release: 7%{?dist}
|
| |
- URL: https://github.com/Storj/libstorj/
|
| |
+ Version: 1.0.3
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Client library and CLI for encrypted file transfer on the Storj network
|
| |
License: LGPLv2+
|
| |
+ URL: https://github.com/Storj/libstorj/
|
| |
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
| |
- BuildRequires: gcc
|
| |
- BuildRequires: pkgconfig(libuv)
|
| |
- BuildRequires: pkgconfig(libmicrohttpd)
|
| |
+
|
| |
BuildRequires: autoconf
|
| |
BuildRequires: automake
|
| |
+ BuildRequires: gcc
|
| |
BuildRequires: libtool
|
| |
- BuildRequires: pkgconfig(libcurl)
|
| |
BuildRequires: pkgconfig(json-c)
|
| |
+ BuildRequires: pkgconfig(libcurl)
|
| |
+ BuildRequires: pkgconfig(libmicrohttpd)
|
| |
+ BuildRequires: pkgconfig(libuv)
|
| |
|
| |
%package devel
|
| |
Summary: Development files for libstorj
|
| |
@@ -29,7 +30,7 @@
|
| |
This package contains files needed to compile code using libstorj.
|
| |
|
| |
%prep
|
| |
- %setup -q
|
| |
+ %autosetup
|
| |
|
| |
%build
|
| |
autoreconf -vif
|
| |
@@ -39,24 +40,31 @@
|
| |
%install
|
| |
%make_install
|
| |
|
| |
- #remove static libs
|
| |
- rm -f $RPM_BUILD_ROOT/%{_libdir}/libstorj*a
|
| |
-
|
| |
%ldconfig_scriptlets
|
| |
|
| |
%files
|
| |
%license LICENSE
|
| |
%doc README.md
|
| |
%{_bindir}/storj
|
| |
- %{_libdir}/*.so.*
|
| |
+ %{_libdir}/libstorj.so.0
|
| |
+ %{_libdir}/libstorj.so.0.0.0
|
| |
|
| |
%files devel
|
| |
+ # Exclude static library files from package.
|
| |
+ %exclude %{_libdir}/libstorj.a
|
| |
+ %exclude %{_libdir}/libstorj.la
|
| |
%doc README.md
|
| |
- %{_libdir}/*.so
|
| |
- %{_includedir}/*
|
| |
+ %{_includedir}/storj.h
|
| |
+ %{_libdir}/libstorj.so
|
| |
%{_libdir}/pkgconfig/libstorj.pc
|
| |
|
| |
%changelog
|
| |
+ * Mon Jun 17 2019 Phil Wyett <philwyett@kathenas.org> - 1.0.3-1
|
| |
+ - Use %%autosetup.
|
| |
+ - Use %%exclude rather than rm for static lib files.
|
| |
+ - Clean-ups and small lib need not wildcard for one file in a folder etc.
|
| |
+ - Update to 1.0.3.
|
| |
+
|
| |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-7
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
| |
|
| |
Use %autosetup.
Use %exclude rather than rm for static lib files.
Clean-ups and small lib need not wildcard for one file in a folder etc.
Update to 1.0.3.