]> git.pld-linux.org Git - packages/libdiscid.git/blob - libdiscid.spec
- updated to 0.6.4
[packages/libdiscid.git] / libdiscid.spec
1 Summary:        Library for creating MusicBrainz DiscIDs
2 Summary(pl.UTF-8):      Biblioteka do tworzenia identyfikatorów DiscID dla MusicBrainz
3 Name:           libdiscid
4 Version:        0.6.4
5 Release:        1
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/%{name}-%{version}.tar.gz
9 # Source0-md5:  774afc1c6eddad9c6db91efd35111d1b
10 URL:            http://musicbrainz.org/doc/libdiscid
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %undefine               __cxx
14
15 %description
16 libdiscid is a C library for creating MusicBrainz DiscIDs from audio
17 CDs. It reads a CD's table of contents (TOC) and generates an
18 identifier which can be used to lookup the CD at MusicBrainz.
19 Additionally, it provides a submission URL for adding the DiscID to
20 the database.
21
22 %description -l pl.UTF-8
23 libdiscid to biblioteka C do tworzenia identyfikatorów DiscID dla
24 MusicBrainz z płyt CD Audio. Odczytuje tablicę zawartości płyty (TOC)
25 i generuje identyfikator, który można wykorzystywać do wyszukiwania
26 płyty w bazie MusicBrainz. Ponadto podaje URL do dodawania DiscID do
27 bazy danych.
28
29 %package devel
30 Summary:        Header files for discid library
31 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki discid
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34
35 %description devel
36 Header files for discid library.
37
38 %description devel -l pl.UTF-8
39 Pliki nagłówkowe biblioteki discid.
40
41 %package static
42 Summary:        Static discid library
43 Summary(pl.UTF-8):      Statyczna biblioteka discid
44 Group:          Development/Libraries
45 Requires:       %{name}-devel = %{version}-%{release}
46
47 %description static
48 Static discid library.
49
50 %description static -l pl.UTF-8
51 Statyczna biblioteka discid.
52
53 %prep
54 %setup -q
55
56 %build
57 %configure \
58         --disable-silent-rules
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 # no external dependencies, obsoleted by pkg-config
68 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libdiscid.la
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post   -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %files
77 %defattr(644,root,root,755)
78 %doc AUTHORS ChangeLog README
79 %attr(755,root,root) %{_libdir}/libdiscid.so.*.*.*
80 %attr(755,root,root) %ghost %{_libdir}/libdiscid.so.0
81
82 %files devel
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/libdiscid.so
85 %{_includedir}/discid
86 %{_pkgconfigdir}/libdiscid.pc
87
88 %files static
89 %defattr(644,root,root,755)
90 %{_libdir}/libdiscid.a
This page took 0.094325 seconds and 4 git commands to generate.