]> git.pld-linux.org Git - packages/libcddb.git/blob - libcddb.spec
b47a536b0e0f870a4df4d821ea74208f2e43b891
[packages/libcddb.git] / libcddb.spec
1 Summary:        Library to access data on a CDDB server
2 Summary(pl):    Biblioteka dostêpu do danych na serwerze CDDB
3 Name:           libcddb
4 Version:        1.0.1
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/libcddb/%{name}-%{version}.tar.gz
9 # Source0-md5:  16b9791e5f460bd017035157d6838b3a
10 URL:            http://libcddb.sourceforge.net/
11 BuildRequires:  automake
12 BuildRequires:  libcdio-devel >= 0.67
13 BuildRequires:  pkgconfig
14 Requires:       libcdio >= 0.67
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 libcddb is a library that implements the different protocols (CDDBP,
19 HTTP, SMTP) to access data on a CDDB server (http://freedb.org/). It
20 tries to be as cross-platform as possible.
21
22 %description -l pl
23 libcddb to biblioteka zawieraj±ca implementacje protoko³ów (CDDBP,
24 HTTP, SMTP) dostêpu do danych na serwerze CDDB (http://freedb.org/).
25 Próbuje byæ przeno¶na na ile to mo¿liwe.
26
27 %package devel
28 Summary:        Header files for libcddb library
29 Summary(pl):    Pliki nag³ówkowe biblioteki libcddb
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}-%{release}
32
33 %description devel
34 Header files for libcddb library.
35
36 %description devel -l pl
37 Pliki nag³ówkowe biblioteki libcddb.
38
39 %package static
40 Summary:        Static libcddb library
41 Summary(pl):    Statyczna biblioteka libcddb
42 Group:          Development/Libraries
43 Requires:       %{name}-devel = %{version}-%{release}
44
45 %description static
46 Static libcddb library.
47
48 %description static -l pl
49 Statyczna biblioteka libcddb.
50
51 %prep
52 %setup -q
53
54 %build
55 cp -f /usr/share/automake/config.sub .
56 %configure
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post   -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
70
71 %files
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog NEWS README THANKS TODO
74 %attr(755,root,root) %{_bindir}/*
75 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
76
77 %files devel
78 %defattr(644,root,root,755)
79 %attr(755,root,root) %{_libdir}/lib*.so
80 %{_libdir}/lib*.la
81 %{_includedir}/cddb
82 %{_pkgconfigdir}/*.pc
83
84 %files static
85 %defattr(644,root,root,755)
86 %{_libdir}/lib*.a
This page took 0.075426 seconds and 3 git commands to generate.