]> git.pld-linux.org Git - packages/libcddb.git/blame - libcddb.spec
- release 4 (by relup.sh)
[packages/libcddb.git] / libcddb.spec
CommitLineData
cbe7ad8a 1#
2823cc6d 2# Conditional build:
2683dc1e 3%bcond_without static_libs # don't build static library
2823cc6d 4#
5823a8e8 5Summary: Library to access data on a CDDB server
57d5a3bf 6Summary(pl.UTF-8): Biblioteka dostępu do danych na serwerze CDDB
5823a8e8 7Name: libcddb
6d6610ae 8Version: 1.3.2
d93942b9 9Release: 4
5823a8e8
JB
10License: LGPL
11Group: Libraries
66fb0fa2 12Source0: http://downloads.sourceforge.net/libcddb/%{name}-%{version}.tar.bz2
6d6610ae 13# Source0-md5: 8bb4a6f542197e8e9648ae597cd6bc8a
5823a8e8 14URL: http://libcddb.sourceforge.net/
228aa27f 15BuildRequires: autoconf >= 2.55
7278adab 16BuildRequires: automake
228aa27f
JB
17BuildRequires: gettext-devel >= 0.14.4
18BuildRequires: libcdio-devel >= 0.76
b416cd7b 19BuildRequires: libtool
7278adab 20BuildRequires: pkgconfig
228aa27f 21Requires: libcdio >= 0.76
5823a8e8
JB
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25libcddb is a library that implements the different protocols (CDDBP,
26HTTP, SMTP) to access data on a CDDB server (http://freedb.org/). It
27tries to be as cross-platform as possible.
28
bd81bfee
JR
29%description -l pl.UTF-8
30libcddb to biblioteka zawierająca implementacje protokołów (CDDBP,
31HTTP, SMTP) dostępu do danych na serwerze CDDB (http://freedb.org/).
32Próbuje być przenośna na ile to możliwe.
5823a8e8
JB
33
34%package devel
35Summary: Header files for libcddb library
57d5a3bf 36Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libcddb
5823a8e8 37Group: Development/Libraries
5602bd6f 38Requires: %{name} = %{version}-%{release}
5823a8e8
JB
39
40%description devel
41Header files for libcddb library.
42
bd81bfee
JR
43%description devel -l pl.UTF-8
44Pliki nagłówkowe biblioteki libcddb.
5823a8e8
JB
45
46%package static
47Summary: Static libcddb library
57d5a3bf 48Summary(pl.UTF-8): Statyczna biblioteka libcddb
5823a8e8 49Group: Development/Libraries
5602bd6f 50Requires: %{name}-devel = %{version}-%{release}
5823a8e8
JB
51
52%description static
53Static libcddb library.
54
bd81bfee 55%description static -l pl.UTF-8
5823a8e8
JB
56Statyczna biblioteka libcddb.
57
58%prep
59%setup -q
60
61%build
b416cd7b 62%{__libtoolize}
63%{__aclocal}
64%{__autoconf}
66fb0fa2 65%{__autoheader}
b416cd7b 66%{__automake}
67%configure \
2683dc1e 68 %{!?with_static_libs:--disable-static}
5823a8e8
JB
69%{__make}
70
71%install
72rm -rf $RPM_BUILD_ROOT
6d6610ae 73install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
5823a8e8
JB
74
75%{__make} install \
76 DESTDIR=$RPM_BUILD_ROOT
77
6d6610ae
MB
78# install examples
79install examples/*.{c,h} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
80
5823a8e8
JB
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%post -p /sbin/ldconfig
85%postun -p /sbin/ldconfig
86
87%files
88%defattr(644,root,root,755)
89%doc AUTHORS ChangeLog NEWS README THANKS TODO
6d6610ae
MB
90%attr(755,root,root) %{_bindir}/cddb_query
91%attr(755,root,root) %{_libdir}/libcddb.so.*.*.*
92%attr(755,root,root) %ghost %{_libdir}/libcddb.so.2
5823a8e8
JB
93
94%files devel
95%defattr(644,root,root,755)
6d6610ae
MB
96%attr(755,root,root) %{_libdir}/libcddb.so
97%{_libdir}/libcddb.la
5823a8e8 98%{_includedir}/cddb
6d6610ae
MB
99%{_pkgconfigdir}/libcddb.pc
100%{_examplesdir}/%{name}-%{version}
5823a8e8 101
2683dc1e 102%if %{with static_libs}
5823a8e8
JB
103%files static
104%defattr(644,root,root,755)
6d6610ae 105%{_libdir}/libcddb.a
b416cd7b 106%endif
This page took 0.080545 seconds and 4 git commands to generate.