1 Summary: Library to support cross-platform C threads functions
2 Summary(pl.UTF-8): Biblioteka wspierająca wieloplatformowe funkcje obsługi wątków w C
8 Source0: https://github.com/libyal/libcthreads/archive/%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5: c0cc6abe573e796c1f4ebe0db7e23b73
10 Patch0: %{name}-system-libs.patch
11 URL: https://github.com/libyal/libcthreads/
12 BuildRequires: autoconf >= 2.59
13 BuildRequires: automake >= 1.6
14 BuildRequires: gettext-tools >= 0.18.1
15 BuildRequires: libcerror-devel >= 20120425
16 BuildRequires: libcstring-devel >= 20120425
17 BuildRequires: libtool
18 BuildRequires: pkgconfig
19 BuildRequires: sed >= 4.0
20 Requires: libcerror >= 20120425
21 Requires: libcstring >= 20120425
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 libcthreads is a library to support cross-platform C thread functions.
27 %description -l pl.UTF-8
28 libcthreads to biblioteka wspierająca wieloplatformowe funkcje obsługi
32 Summary: Header files for libcthreads library
33 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libcthreads
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
36 Requires: libcerror-devel >= 20120425
37 Requires: libcstring-devel >= 20120425
40 Header files for libcthreads library.
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe biblioteki libcthreads.
46 Summary: Static libcthreads library
47 Summary(pl.UTF-8): Statyczna biblioteka libcthreads
48 Group: Development/Libraries
49 Requires: %{name}-devel = %{version}-%{release}
52 Static libcthreads library.
54 %description static -l pl.UTF-8
55 Statyczna biblioteka libcthreads.
63 %{__sed} -i -e 's/ po\/Makefile.in//' configure.ac
73 rm -rf $RPM_BUILD_ROOT
76 DESTDIR=$RPM_BUILD_ROOT
78 # obsoleted by pkg-config
79 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libcthreads.la
82 rm -rf $RPM_BUILD_ROOT
84 %post -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
88 %defattr(644,root,root,755)
89 %doc AUTHORS ChangeLog README
90 %attr(755,root,root) %{_libdir}/libcthreads.so.*.*.*
91 %attr(755,root,root) %ghost %{_libdir}/libcthreads.so.1
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_libdir}/libcthreads.so
96 %{_includedir}/libcthreads
97 %{_includedir}/libcthreads.h
98 %{_pkgconfigdir}/libcthreads.pc
99 %{_mandir}/man3/libcthreads.3*
102 %defattr(644,root,root,755)
103 %{_libdir}/libcthreads.a