2 %bcond_without static_libs # don't build static library
4 Summary: Library to access data on a CDDB server
5 Summary(pl): Biblioteka dostêpu do danych na serwerze CDDB
11 Source0: http://dl.sourceforge.net/libcddb/%{name}-%{version}.tar.gz
12 # Source0-md5: a8f8549cc1afb3bc702a96c7d71d2241
13 URL: http://libcddb.sourceforge.net/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: libcdio-devel >= 0.74
17 BuildRequires: libtool
18 BuildRequires: pkgconfig
19 Requires: libcdio >= 0.74
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 libcddb is a library that implements the different protocols (CDDBP,
24 HTTP, SMTP) to access data on a CDDB server (http://freedb.org/). It
25 tries to be as cross-platform as possible.
28 libcddb to biblioteka zawieraj±ca implementacje protoko³ów (CDDBP,
29 HTTP, SMTP) dostêpu do danych na serwerze CDDB (http://freedb.org/).
30 Próbuje byæ przeno¶na na ile to mo¿liwe.
33 Summary: Header files for libcddb library
34 Summary(pl): Pliki nag³ówkowe biblioteki libcddb
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
39 Header files for libcddb library.
41 %description devel -l pl
42 Pliki nag³ówkowe biblioteki libcddb.
45 Summary: Static libcddb library
46 Summary(pl): Statyczna biblioteka libcddb
47 Group: Development/Libraries
48 Requires: %{name}-devel = %{version}-%{release}
51 Static libcddb library.
53 %description static -l pl
54 Statyczna biblioteka libcddb.
65 %{!?with_static_libs:--disable-static}
69 rm -rf $RPM_BUILD_ROOT
72 DESTDIR=$RPM_BUILD_ROOT
75 rm -rf $RPM_BUILD_ROOT
77 %post -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
81 %defattr(644,root,root,755)
82 %doc AUTHORS ChangeLog NEWS README THANKS TODO
83 %attr(755,root,root) %{_bindir}/*
84 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/lib*.so
93 %if %{with static_libs}
95 %defattr(644,root,root,755)