]> git.pld-linux.org Git - packages/libs3.git/blame - libs3.spec
- x32 rebuild
[packages/libs3.git] / libs3.spec
CommitLineData
077e9b87
JB
1#
2# Conditional build:
3%bcond_without apidocs # do not build and package API docs
4#
5Summary: C library and tools for Amazon S3 access
6Summary(pl.UTF-8): Biblioteka C i narzędzia do dostępu do Amazon S3
7Name: libs3
8Version: 2.0
5c3a2836 9Release: 2
077e9b87
JB
10License: GPL v3 with OpenSSL exception
11Group: Libraries
12Source0: http://libs3.ischo.com.s3.amazonaws.com/%{name}-%{version}.tar.gz
13# Source0-md5: e52da69ddc11019e98cf8246fc55b4e1
14URL: http://libs3.ischo.com.s3.amazonaws.com/index.html
15BuildRequires: curl-devel
16%{?with_apidocs:BuildRequires: doxygen}
17BuildRequires: libxml2-devel
18BuildRequires: openssl-devel
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22This package includes the libs3 shared library needed to run
23applications using libs3 and additionally contains the s3 utility
24for accessing Amazon S3.
25
26%description -l pl.UTF-8
27Ten pakiet zawiera bibliotekę współdzieloną libs3 niezbędną do
28uruchamiania aplikacji wykorzystujących libs3 oraz dodatkowo
29narzędzie s3 pozwalające na dostęp do Amazon S3.
30
31%package devel
32Summary: Header files for libs3 library
33Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libs3
34Group: Development/Libraries
35Requires: %{name} = %{version}-%{release}
36Requires: curl-devel
37Requires: libxml2-devel
38Requires: openssl-devel
39
40%description devel
41Header files for libs3 library.
42
43%description devel -l pl.UTF-8
44Pliki nagłówkowe biblioteki libs3.
45
46%package static
47Summary: Static libs3 library
48Summary(pl.UTF-8): Statyczna biblioteka libs3
49Group: Development/Libraries
50Requires: %{name}-devel = %{version}-%{release}
51
52%description static
53Static libs3 library.
54
55%description static -l pl.UTF-8
56Statyczna biblioteka libs3.
57
58%package apidocs
59Summary: libs3 API documentation
60Summary(pl.UTF-8): Dokumentacja API biblioteki libs3
61Group: Documentation
62
63%description apidocs
64API and internal documentation for libs3 library.
65
66%description apidocs -l pl.UTF-8
67Dokumentacja API biblioteki libs3.
68
69%prep
70%setup -q
71
72%build
73CFLAGS="%{rpmcflags}" \
74%{__make} exported \
75 VERBOSE=1
76
77%{?with_apidocs:doxygen}
78
79%install
80rm -rf $RPM_BUILD_ROOT
81
82%{__make} install \
83 DESTDIR=$RPM_BUILD_ROOT%{_prefix}
84
85%if "%{_lib}" != "lib"
86mv -f $RPM_BUILD_ROOT%{_prefix}/{lib,%{_lib}}
87%endif
88
89%clean
90rm -rf $RPM_BUILD_ROOT
91
92%post -p /sbin/ldconfig
93%postun -p /sbin/ldconfig
94
95%files
96%defattr(644,root,root,755)
97%doc ChangeLog LICENSE README TODO
98%attr(755,root,root) %{_bindir}/s3
99%attr(755,root,root) %{_libdir}/libs3.so.*.*
100%attr(755,root,root) %ghost %{_libdir}/libs3.so.2
101
102%files devel
103%defattr(644,root,root,755)
104%attr(755,root,root) %{_libdir}/libs3.so
105%{_includedir}/libs3.h
106
107%files static
108%defattr(644,root,root,755)
109%{_libdir}/libs3.a
110
111%if %{with apidocs}
112%files apidocs
113%defattr(644,root,root,755)
114%doc dox/html/*
115%endif
This page took 0.071901 seconds and 4 git commands to generate.