%def_disable static Name: libid3tag Version: 0.15.1b Release: alt5 Summary: ID3 Tag manipulation library Summary(ru_RU.CP1251): Áèáëèîòåêà äëÿ ðàáîòû ñ òåãàìè ID3 License: GPL Group: Sound Url: http://mad.sourceforge.net/ Packager: Pavlov Konstantin <thresh@altlinux.ru> Source: http://download.sourceforge.net/%name/%name-%version.tar.bz2 Patch1: %name-0.15.0b-alt-pkgconfig.patch BuildPreReq: libtool_1.5 %{?_enable_static:BuildPreReq: glibc-devel-static} # Automatically added by buildreq on Thu Mar 04 2004 BuildRequires: gcc-c++ gperf libstdc++-devel zlib-devel %description %name is a library for reading and (eventually) writing ID3 tags, both ID3v1 and the various versions of ID3v2. %description -l ru_RU.CP1251 %name -- ýòî áèáëèîòåêà äëÿ ÷òåíèÿ è çàïèñè òåãîâ ID3v1 è ID3v2. %package devel Summary: Development files for %name Group: Development/C PreReq: %name = %version-%release License: GPL %description devel This package contains development files required for packaging software using %name library. %description devel -l ru_RU.CP1251  ýòîì ïàêåòå íàõîäÿòñÿ ôàéëû, íåîáõîäèìûå äëÿ èñïîëüçîâàíèÿ %name â ðàçðàáîòêå ïðèëîæåíèé. %package devel-static Summary: Static libraries for %name Group: Development/C PreReq: %name-devel = %version-%release License: GPL %description devel-static This package contains development libraries required for packaging statically linked %name-based software. %description devel-static -l ru_RU.CP1251  ýòîì ïàêåòå íàõîäÿòñÿ ñòàòè÷åñêèå áèáëèîòåêè, íåîáõîäèìûå äëÿ èñïîëüçîâàíèÿ %name â ðàçðàáîòêå ñòàòè÷åñêèõ ïðèëîæåíèé. %prep %setup -q %patch1 -p1 %build %{?!_enable_static:export lt_cv_prog_cc_static_works=no} %set_libtool_version 1.5 touch NEWS AUTHORS ChangeLog %__autoreconf %configure %{subst_enable static} # SMP-incompatible build %make %install %makeinstall rm -f %buildroot%_libdir/*.la %post -p %post_ldconfig %postun -p %postun_ldconfig %files %doc CHANGES README INSTALL CREDITS COPYRIGHT TODO VERSION %_libdir/*.so.* %files devel %_libdir/*.so %_libdir/pkgconfig/* %_includedir/id3tag.h %if_enabled static %files devel-static %_libdir/*.a %endif %changelog * Sat Jan 27 2007 Pavlov Konstantin <thresh@altlinux.ru> 0.15.1b-alt5 - Added autoreconf. - Minor spec cleanup. - Changed packager field. * Thu Jun 17 2004 Andrey Astafiev <andrei@altlinux.ru> 0.15.1b-alt4 - Fixed bug #3292: gpref is required for building. * Thu Jun 10 2004 Andrey Astafiev <andrei@altlinux.ru> 0.15.1b-alt3 - Fixed bug #3405: Typo in russian summary. * Thu Mar 04 2004 Andrey Astafiev <andrei@altlinux.ru> 0.15.1b-alt2 - 0.15.1b * Wed Nov 26 2003 Yuri N. Sedunov <aris@altlinux.ru> 0.15.0b-alt4.1 - fixed buildreqs. - don't package .la files. * Fri Nov 21 2003 Andrey Astafiev <andrei@altlinux.ru> 0.15.0b-alt4 - Repaired changelog. * Thu Nov 20 2003 Yuri N. Sedunov <aris@altlinux.ru> 0.15.0b-alt3.1 - use libtool_1.4 * Fri Nov 14 2003 Andrey Astafiev <andrei@altlinux.ru> 0.15.0b-alt3 - Fixed build on SMP systems. * Mon Nov 03 2003 Andrey Astafiev <andrei@altlinux.ru> 0.15.0b-alt2 - Added patch for pkgconfig. * Fri Jun 06 2003 Andrey Astafiev <andrei@altlinux.ru> 0.15.0b-alt1 - libid3tag is now in separate tarball. * Sat Mar 15 2003 Andrey Astafiev <andrei@altlinux.ru> 0.14.2b-alt4 - Library libid3tag moved to separate binary package. * Sun Oct 13 2002 Yuri N. Sedunov <aris@altlinux.ru> 0.14.2b-alt3 - rebuild with gcc-3.2 - Packager tag added. * Tue Feb 12 2002 Andrey Astafiev <andrei@altlinux.ru> 0.14.2b-alt2 - Packager field fixed. * Fri Nov 09 2001 Andrey Astafiev <andrei@altlinux.ru> 0.14.2b-alt1 - 0.14.2b * Tue Oct 23 2001 Andrey Astafiev <andrei@altlinux.ru> 0.14.1b-alt1 - 0.14.1b * Fri Oct 19 2001 Andrey Astafiev <andrei@altlinux.ru> 0.14.0b-alt1 - 0.14.0b * Mon Sep 03 2001 Dmitry V. Levin <ldv@altlinux.ru> 0.13.0b-alt2 - Blind minor specfile cleanup. * Mon Sep 3 2001 Andrey Astafiev <andrei@altlinux.ru> 0.13.0b-alt1 - First version of RPM package.