]> git.pld-linux.org Git - packages/libnemesi.git/blob - libnemesi.spec
6f2b40624e8fe34338117443dc9170e72101a2ac
[packages/libnemesi.git] / libnemesi.spec
1 #
2 # Conditional build:
3 %bcond_without  apidocs         # do not build and package API docs
4 #
5 Summary:        libNeMeSi - the RTSP/RTP client library
6 Summary(pl.UTF-8):      libNeMeSi - biblioteka klienta RTSP/RTP
7 Name:           libnemesi
8 Version:        0.7.0
9 %define subver  20101208
10 Release:        0.%{subver}.1
11 License:        LGPL v2.1+
12 Group:          Libraries
13 # git clone git://git.lscube.org/libnemesi
14 Source0:        %{name}.tar.xz
15 # Source0-md5:  1ba1385440e44dde3009a285ae1164aa
16 URL:            http://lscube.org/projects/libnemesi_rtsp_rtp_client_library
17 BuildRequires:  autoconf >= 2.61
18 BuildRequires:  automake
19 # to generate ChangeLog from git snapshot
20 BuildRequires:  git-core
21 BuildRequires:  libsctp-devel
22 BuildRequires:  libtool
23 BuildRequires:  netembryo-devel >= 0.1.1
24 BuildRequires:  pkgconfig
25 BuildRequires:  tar >= 1:1.22
26 BuildRequires:  xz
27 Requires:       netembryo >= 0.1.1
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 Libnemesi lets you add multimedia streaming playback in your
32 applications in a quick and straightforward way. This software,
33 derived from the experience matured with NeMeSi is fully compliant
34 with IETF's standards for real-time streaming of multimedia contents
35 over Internet. libnemesi implements RTSP - Real-Time Streaming
36 Protocol (RFC2326) and RTP/RTCP - Real-Time Transport Protocol/RTP
37 Control Protocol (RFC3550) supporting the RTP Profile for Audio and
38 Video Conferences with Minimal Control (RFC3551).
39
40 %description -l pl.UTF-8
41 Libnemesi pozwala szybkie i proste dodawanie do aplikacji obsługi
42 odtwarzania strumieni multimedialnych. Ta biblioteka, wywodząca się z
43 doświadczenia nabytego przy projekcie NeMeSi, jest w pełni zgodna ze
44 standardami IETF do przesyłania strumieni treści multimedialnych przez
45 Internet w czasie rzeczywistym. Zawiera implementacje protokołów RTSP
46 (Real-Time Stereaming Protocol - RFC2326) oraz RTP/RTCP (RealTime
47 Transport Protocol/RTP Control Protocol - RFC3550), obsługujące profil
48 RTP dla konferencji z dźwiękiem i obrazem o minimalnej kontroli (RTP
49 Profile for Audio and Video Conferences with Minimal Control -
50 RFC3551).
51
52 %package devel
53 Summary:        Header files for libNeMeSi library
54 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libNeMeSi
55 Group:          Development/Libraries
56 Requires:       %{name} = %{version}-%{release}
57 Requires:       netembryo-devel >= 0.1.1
58
59 %description devel
60 Header files for libNeMeSi library.
61
62 %description devel -l pl.UTF-8
63 Pliki nagłówkowe biblioteki libNeMeSi.
64
65 %package static
66 Summary:        Static libNeMeSi library
67 Summary(pl.UTF-8):      Statyczna biblioteka libNeMeSi
68 Group:          Development/Libraries
69 Requires:       %{name}-devel = %{version}-%{release}
70
71 %description static
72 Static libNeMeSi library.
73
74 %description static -l pl.UTF-8
75 Statyczna biblioteka libNeMeSi.
76
77 %prep
78 %setup -q -n %{name}
79
80 %build
81 %{__libtoolize}
82 %{__aclocal} -I m4
83 %{__autoconf}
84 %{__autoheader}
85 %{__automake}
86 %configure \
87         --disable-examples \
88         --disable-silent-rules
89
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94
95 %{__make} install \
96         DESTDIR=$RPM_BUILD_ROOT
97
98 # obsoleted by pkg-config
99 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libnemesi.la
100 # packaged as %doc
101 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/libnemesi
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %post   -p /sbin/ldconfig
107 %postun -p /sbin/ldconfig
108
109 %files
110 %defattr(644,root,root,755)
111 %doc AUTHORS ChangeLog README TODO
112 %attr(755,root,root) %{_libdir}/libnemesi.so.*.*.*
113 %attr(755,root,root) %ghost %{_libdir}/libnemesi.so.1
114
115 %files devel
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/libnemesi.so
118 %{_includedir}/nemesi
119 %{_pkgconfigdir}/libnemesi.pc
120
121 %files static
122 %defattr(644,root,root,755)
123 %{_libdir}/libnemesi.a
This page took 0.052139 seconds and 2 git commands to generate.