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