]> git.pld-linux.org Git - SPECS.git/blob - id3lib.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / id3lib.spec
1 Summary:        A software library for manipulating ID3v1 and ID3v2 tags
2 Summary(pl.UTF-8):      Biblioteka do zarządzania znacznikami ID3v1 oraz ID3v2
3 Name:           id3lib
4 Version:        3.8.3
5 Release:        11
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/id3lib/%{name}-%{version}.tar.gz
9 # Source0-md5:  19f27ddd2dda4b2d26a559a4f0f402a7
10 Patch0:         %{name}-nozlibpopt.patch
11 Patch1:         %{name}-link.patch
12 Patch2:         %{name}-iconv-in-libc.patch
13 Patch3:         http://downloads.sourceforge.net/easytag/patch_id3lib_3.8.3_UTF16_writing_bug.diff
14 Patch4:         %{name}-CVE-2007-4460.patch
15 Patch5:         %{name}-gcc43.patch
16 URL:            http://id3lib.sourceforge.net/
17 BuildRequires:  autoconf >= 2.13
18 BuildRequires:  automake >= 1.5
19 BuildRequires:  doxygen
20 BuildRequires:  libstdc++-devel
21 BuildRequires:  libtool >= 2:1.5
22 BuildRequires:  zlib-devel
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 This package provides a software library for manipulating ID3v1 and
27 ID3v2 tags. It provides a convenient interface for software developers
28 to include standards-compliant ID3v1/2 tagging capabilities in their
29 applications. Features include identification of valid tags, automatic
30 size conversions, (re)synchronisation of tag frames, seamless tag
31 (de)compression, and optional padding facilities.
32
33 %description -l pl.UTF-8
34 Pakiet dostarcza bibliotekę pozwalającą na manipulacje znacznikami
35 ID3v1 oraz ID3v2. Dostarcza on wygodny interfejs dla programistów
36 pozwalając na dodawanie możliwości obsługi znaczników ID3v1/2 w ich
37 własnych aplikacjach. Możliwości biblioteki to identyfikacja
38 prawidłowych znaczników, automatyczna konwersja rozmiaru,
39 synchronizacja ramek, dekompresja itp.
40
41 %package devel
42 Summary:        Headers for developing programs that will use id3lib
43 Summary(pl.UTF-8):      Pliki nagłówkowe dla programistów używających id3lib
44 Group:          Development/Libraries
45 Requires:       %{name} = %{version}-%{release}
46 Requires:       libstdc++-devel
47 Requires:       zlib-devel
48
49 %description devel
50 This package contains the headers that programmers will need to
51 develop applications which will use id3lib, the software library for
52 ID3v1 and ID3v2 tag manipulation.
53
54 %description devel -l pl.UTF-8
55 Pakiet zawiera pliki nagłówkowe, które będą potrzebne programistom
56 chcących rozwijać aplikacje używające biblioteki id3lib.
57
58 %package static
59 Summary:        Static id3lib libraries
60 Summary(pl.UTF-8):      Statyczne biblioteki id3lib
61 Group:          Development/Libraries
62 Requires:       %{name}-devel = %{version}-%{release}
63
64 %description static
65 Static id3lib libraries.
66
67 %description static -l pl.UTF-8
68 Statyczne biblioteki id3lib.
69
70 %package utils
71 Summary:        Simple id3 utils
72 Summary(pl.UTF-8):      Proste narzędzia do id3
73 Group:          Applications/File
74 Requires:       %{name} = %{version}-%{release}
75
76 %description utils
77 Few simple utilities to manipulate on ID3 tags: id3convert, id3cp,
78 id3info, id3tag.
79
80 %description utils -l pl.UTF-8
81 Kilka prostych narzędzi do obsługi znaczników ID3: id3convert, id3cp,
82 id3info, id3tag.
83
84 %prep
85 %setup -q
86 %patch0 -p1
87 %patch1 -p1
88 %patch2 -p1
89 %patch3 -p1
90 %patch4 -p1
91 %patch5 -p1
92
93 %build
94 %{__libtoolize}
95 %{__aclocal} -I m4
96 %{__autoconf}
97 %{__automake}
98 %configure
99 %{__make}
100 cd doc
101 doxygen
102
103 %install
104 rm -rf $RPM_BUILD_ROOT
105
106 %{__make} install \
107         DESTDIR=$RPM_BUILD_ROOT
108
109 %clean
110 rm -rf $RPM_BUILD_ROOT
111
112 %post   -p /sbin/ldconfig
113 %postun -p /sbin/ldconfig
114
115 %files
116 %defattr(644,root,root,755)
117 %doc AUTHORS HISTORY NEWS README THANKS TODO
118 %attr(755,root,root) %{_libdir}/libid3-3.8.so.*.*.*
119 %attr(755,root,root) %ghost %{_libdir}/libid3-3.8.so.3
120
121 %files devel
122 %defattr(644,root,root,755)
123 %doc ChangeLog doc/
124 %attr(755,root,root) %{_libdir}/libid3.so
125 %{_libdir}/libid3.la
126 %{_includedir}/id3
127 %{_includedir}/id3.h
128
129 %files static
130 %defattr(644,root,root,755)
131 %{_libdir}/libid3.a
132
133 %files utils
134 %defattr(644,root,root,755)
135 %attr(755,root,root) %{_bindir}/id3convert
136 %attr(755,root,root) %{_bindir}/id3cp
137 %attr(755,root,root) %{_bindir}/id3info
138 %attr(755,root,root) %{_bindir}/id3tag
This page took 0.043987 seconds and 3 git commands to generate.