%define major 0 %define libname %mklibname %{name} %{major} %define libnamedev %mklibname %{name} %{major} -d Summary: Library assetml to share and reuse content like image and audio file Name: assetml Version: 1.2.1 Release: %mkrel 8 License: GPLv2+ Group: System/Libraries URL: http://ofset.sf.net/assetml Source: http://download.sourceforge.net/ofset/lib%{name}-%{version}.tar.bz2 BuildRequires: popt-devel BuildRequires: glib2-devel >= 2.0.0 BuildRequires: glibc-devel BuildRequires: libxml2-devel BuildRequires: texi2html BuildRequires: texinfo %description This is a library based on an XML file format that is used to share and reuse content like image and audio file. Application using this library can query files on their system that provides an assetml xml file description. %package -n %{libname} Summary: Library assetml to share image and audio file between project Group: System/Libraries %description -n %{libname} AssetML Library. %package -n %{libnamedev} Summary: Devel Library assetml to share image and audio file between project Group: System/Libraries Requires: %{libname} = %{version} Provides: lib%{name}-devel %description -n %{libnamedev} AssetML Devel Library %prep %setup -q -n lib%{name}-%{version} %build %configure2_5x %make %install %makeinstall_std %find_lang lib%{name} --with-gnome %post %_install_info %{name}.info %preun %_remove_install_info %{name}.info %files -f lib%{name}.lang %doc AUTHORS ChangeLog README THANKS %{_bindir}/assetml-query %{_infodir}/lib%{name}.info.* %files -n %{libname} %{_libdir}/libassetml.so.%{major} %{_libdir}/libassetml.so.%{major}.* %files -n %{libnamedev} %{_libdir}/libassetml.so %{_libdir}/*a %{_includedir}/libassetml-1.0/ %{_libdir}/pkgconfig/libassetml.pc