%define ver @VERSION@ %define RELEASE 1 %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} %define prefix /usr Summary: Library assetml to share and reuse content like image and audio file Name: libassetml Version: %ver Release: %rel Copyright: GPL Group: System/Libraries Source: ftp://ofset.sourceforge.net/libassetml-%{PACKAGE_VERSION}.tar.gz BuildRoot: /var/tmp/libassetml-%{PACKAGE_VERSION}-root URL: http://ofset.sf.net/assetml Docdir: %{prefix}/share/doc/libassetml-%{PACKAGE_VERSION} Requires: libxml2 Packager: Bruno Coudoin %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 devel Summary: Devel Library assetml to share image and audio file between project Group: System/Libraries Version: %ver Requires: libassetml %description devel AssetML Devel Library %prep %setup -q %build %ifarch alpha MYARCH_FLAGS="--host=alpha-redhat-linux" %endif %configure %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %post %_install_info %{name}.info %postun %files %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README %{prefix}/share/gnome/help/* %{prefix}/share/locale/*/*/* %_infodir/* %{prefix}/lib/libassetml.so.* %{prefix}/bin/assetml-query %files devel %defattr(-, root, root) %{_libdir}/lib*.so %{_libdir}/*a %{_includedir}/libassetml*/* %{_libdir}/pkgconfig/libassetml.pc