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