Debian Codegraph @

storage/maria/libmarias3/rpm/libmarias3.spec.in

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