blob: 464dd9292d5f86e9ce529eab8ca3fb229b883dfb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
Summary: libMariaS3
Name: @PACKAGE@
Version: @VERSION@
Release: 1
License: LGPL v2.1
Group: System Environment/Libraries
BuildRequires: libcurl
URL: https://github.com/mariadb-corporation/libmarias3
Packager: Andrew Hutchings <linuxjedi@mariadb.com>
Source: https://github.com/mariadb-corporation/libmarias3/releases/tag/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
%description
libMariaS3 is a lightweight C library to read/write to AWS S3 buckets using objects in memory.
This package provides the library.
%package devel
Summary: Header files and development libraries for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
This package contains the header files
for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.
%prep
%setup -q
%configure
%build
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}" AM_INSTALL_PROGRAM_FLAGS=""
mkdir -p $RPM_BUILD_ROOT/
%check
%{__make} check
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE README.rst
%{_libdir}/libmarias3.a
%{_libdir}/libmarias3.la
%{_libdir}/libmarias3.so
%{_libdir}/libmarias3.so.*
%{_bindir}/libmarias3-config
%files devel
%defattr(-,root,root,-)
%doc LICENSE README.rst
%{_includedir}/libmarias3/*.h
%{_libdir}/pkgconfig/libmarias3.pc
%changelog
* Mon Mar 25 2019 Andrew Hutchings <linuxjedi@mariadb.com>
- Initial package
|