]> git.pld-linux.org Git - SPECS.git/blob - liblo.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / liblo.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # static library
4 #
5 Summary:        Open Sound Control library
6 Summary(pl.UTF-8):      Biblioteka Open Sound Control
7 Name:           liblo
8 Version:        0.31
9 Release:        1
10 License:        LGPL v2.1+
11 Group:          Libraries
12 Source0:        http://downloads.sourceforge.net/liblo/%{name}-%{version}.tar.gz
13 # Source0-md5:  14378c1e74c58e777fbb4fcf33ac5315
14 URL:            http://liblo.sourceforge.net/
15 BuildRequires:  autoconf >= 2.69
16 BuildRequires:  automake
17 BuildRequires:  doxygen
18 BuildRequires:  libtool
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 liblo is an implementation of the Open Sound Control protocol for
23 POSIX systems.
24
25 %description -l pl.UTF-8
26 liblo jest implementacją protokołu Open Sound Control dla systemów
27 POSIX.
28
29 %package devel
30 Summary:        Header files for liblo
31 Summary(pl.UTF-8):      Pliki nagłówkowe dla liblo
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34
35 %description devel
36 Header files and development documentation for liblo.
37
38 %description devel -l pl.UTF-8
39 Pliki nagłówkowe i dokumentacja dla liblo.
40
41 %package static
42 Summary:        liblo static library
43 Summary(pl.UTF-8):      Biblioteka statyczna liblo
44 Group:          Development/Libraries
45 Requires:       %{name} = %{version}-%{release}
46
47 %description static
48 liblo static library.
49
50 %description static -l pl.UTF-8
51 Biblioteka statyczna liblo.
52
53 %package apidocs
54 Summary:        API documentation for liblo library
55 Summary(pl.UTF-8):      Dokumentacja API biblioteki liblo
56 Group:          Documentation
57 BuildArch:      noarch
58
59 %description apidocs
60 API documentation for liblo library.
61
62 %description apidocs -l pl.UTF-8
63 Dokumentacja API biblioteki liblo.
64
65 %prep
66 %setup -q
67
68 %build
69 %{__libtoolize}
70 %{__aclocal} -I m4
71 %{__autoconf}
72 %{__autoheader}
73 %{__automake}
74 %configure \
75         --disable-silent-rules \
76         --enable-ipv6 \
77         %{?with_static_libs:--enable-static}
78 %{__make}
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82
83 %{__make} install \
84         DESTDIR=$RPM_BUILD_ROOT
85
86 # obsoleted by pkg-config
87 %{__rm} $RPM_BUILD_ROOT%{_libdir}/liblo.la
88
89 %clean
90 rm -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 AUTHORS ChangeLog NEWS README TODO
98 %attr(755,root,root) %{_bindir}/oscdump
99 %attr(755,root,root) %{_bindir}/oscsend
100 %attr(755,root,root) %{_bindir}/oscsendfile
101 %attr(755,root,root) %{_libdir}/liblo.so.*.*.*
102 %attr(755,root,root) %ghost %{_libdir}/liblo.so.7
103
104 %files devel
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/liblo.so
107 %{_includedir}/lo
108 %{_pkgconfigdir}/liblo.pc
109
110 %if %{with static_libs}
111 %files static
112 %defattr(644,root,root,755)
113 %{_libdir}/liblo.a
114 %endif
115
116 %files apidocs
117 %defattr(644,root,root,755)
118 %doc doc/html/*
This page took 0.128199 seconds and 3 git commands to generate.