]> git.pld-linux.org Git - packages/libss7.git/blob - libss7.spec
- new
[packages/libss7.git] / libss7.spec
1 Summary:        SS7 protocol services library
2 Summary(pl.UTF-8):      Biblioteka usług protokołu SS7
3 Name:           libss7
4 Version:        2.0.0
5 Release:        1
6 License:        GPL v2
7 Group:          Libraries
8 Source0:        http://downloads.asterisk.org/pub/telephony/libss7/%{name}-%{version}.tar.gz
9 # Source0-md5:  93e43adde507d622fd92898b66f8caef
10 URL:            http://www.asterisk.org/
11 BuildRequires:  dahdi-tools-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 libss7 is a userspace library that is used for providing SS7 protocol
16 services to applications. It has a working MTP2, MTP3, and ISUP for
17 ITU and ANSI style SS7, however it was written in a manner that will
18 easily allow support for other various national specific variants in
19 the future.
20
21 %description -l pl.UTF-8
22 libss7 to biblioteka przestrzeni użytkownika, mająca za zadanie
23 dostarczyć usługi protokołu SS7 dla aplikacji. Zawiera działające
24 MTP2, MTP3 oraz ISUP dla ITU oraz SS7 wg ANSI, ale została napisana
25 tak, aby w przyszłości łatwo umożliwić obsługę innych krajowych
26 wariantów.
27
28 %package devel
29 Summary:        Header files for libss7 library
30 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libss7
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}-%{release}
33
34 %description devel
35 Header files for libss7 library.
36
37 %description devel -l pl.UTF-8
38 Pliki nagłówkowe biblioteki libss7.
39
40 %package static
41 Summary:        libss7 static library
42 Summary(pl.UTF-8):      Statyczna biblioteka libss7
43 Group:          Development/Libraries
44 Requires:       %{name}-devel = %{version}-%{release}
45
46 %description static
47 libss7 static library.
48
49 %description static -l pl.UTF-8
50 Statyczna biblioteka libss7.
51
52 %prep
53 %setup -q
54
55 %build
56 %{__make} \
57         CC="%{__cc}" \
58         COVERAGE_CFLAGS="%{rpmcflags} %{rpmcppflags}"
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         INSTALL_PREFIX=$RPM_BUILD_ROOT \
65         libdir=%{_libdir}
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post   -p /sbin/ldconfig
71 %postun -p /sbin/ldconfig
72
73 %files
74 %defattr(644,root,root,755)
75 %doc ChangeLog NEWS-* README libss7-%{version}-summary.txt
76 %attr(755,root,root) %{_libdir}/libss7.so.*.*
77
78 %files devel
79 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_libdir}/libss7.so
81 %{_includedir}/libss7.h
82
83 %files static
84 %defattr(644,root,root,755)
85 %{_libdir}/libss7.a
This page took 0.090366 seconds and 3 git commands to generate.