]> git.pld-linux.org Git - SPECS.git/blob - libpcl.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / libpcl.spec
1 Summary:        Portable Coroutine Library (PCL)
2 Summary(pl.UTF-8):      Przenośna biblioteka korutyn
3 Name:           libpcl
4 Version:        1.12
5 Release:        2
6 License:        GPL v2+
7 Group:          Libraries
8 #Source0Download: http://www.xmailserver.org/libpcl.html
9 Source0:        http://www.xmailserver.org/pcl-%{version}.tar.gz
10 # Source0-md5:  816d394743d8ab1b3e20af1efebb093d
11 URL:            http://www.xmailserver.org/libpcl.html
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 This is a Portable Coroutine Library implementation written in ANSI C.
16
17 Coroutines can be used to implement co-operative threading among many
18 tasks without overloading the OS with threads/processes. Since context
19 switch between coroutines is very fast, certain applications might
20 have performance gain in using this type of threading.
21
22 %description -l pl.UTF-8
23 PCL (Portable Couroutine Library) to implementacja przenośnej
24 biblioteki korutyn napisana w ANSI C.
25
26 Korutyny mogą być użyte do zaimplementowania współpracujących wątków
27 wśród wielu zadań bez obciążania systemu operacyjnego wątkami czy
28 procesami. Ponieważ przełączanie kontekstu między korutynami jest
29 bardzo szybkie, pewne aplikacje mogą zyskać na wydajności dzieki
30 zastosowaniu tego rodzaju wątkowania.
31
32 %package devel
33 Summary:        Header files for libpcl library
34 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libpcl
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}-%{release}
37
38 %description devel
39 This is the package containing the header files for libpcl library.
40
41 %description devel -l pl.UTF-8
42 Ten pakiet zawiera pliki nagłówkowe biblioteki libpcl.
43
44 %package static
45 Summary:        Static libpcl library
46 Summary(pl.UTF-8):      Statyczna biblioteka libpcl
47 Group:          Development/Libraries
48 Requires:       %{name}-devel = %{version}-%{release}
49
50 %description static
51 Static libpcl library.
52
53 %description static -l pl.UTF-8
54 Statyczna biblioteka libpcl.
55
56 %prep
57 %setup -q -n pcl-%{version}
58
59 %build
60 %configure
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post   -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
73
74 %files
75 %defattr(644,root,root,755)
76 %doc AUTHORS ChangeLog
77 %attr(755,root,root) %{_libdir}/libpcl.so.*.*.*
78 %attr(755,root,root) %ghost %{_libdir}/libpcl.so.1
79
80 %files devel
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_libdir}/libpcl.so
83 %{_libdir}/libpcl.la
84 %{_includedir}/pcl.h
85 %{_mandir}/man3/pcl.3*
86
87 %files static
88 %defattr(644,root,root,755)
89 %{_libdir}/libpcl.a
This page took 0.173298 seconds and 3 git commands to generate.