--- libming.spec.orig 2007-07-03 16:15:51 +0300 +++ libming.spec 2007-07-03 16:25:48 +0300 @@ -1,7 +1,7 @@ Summary: SWF output library Name: libming Version: 0.3.0 -Release: alt1 +Release: alt2 License: LGPL Group: System/Libraries Url: http://www.opaque.net/ming/ @@ -13,11 +13,9 @@ Patch2: ming-0.3.0-alt-install.patch Patch3: ming-0.3.0-alt-dso-fixes.patch -# Automatically added by buildreq on Wed Jun 20 2007 +# Automatically added by buildreq on Tue Jul 03 2007 BuildRequires: flex gcc-c++ libpng-devel libungif-devel -BuildRequires: zlib-devel bison flex - %description Ming is a c library for generating SWF ("Flash") format movies. This package only contains the basic c-based library - not yet extensions for @@ -36,11 +34,14 @@ %package utils Summary: Ming utils Group: System/Base +License: GPL +Requires: %name = %version-%release + %description utils Utils for ming %prep -%setup -q -n ming-0.3.0 +%setup -q -n ming-%version %patch -p1 %patch2 -p0 %patch3 -p0 @@ -50,26 +51,33 @@ %make_build %install -%set_verify_elf_method textrel=relaxed %make_install DESTDIR=%buildroot install +%post -p %post_ldconfig +%postun -p %postun_ldconfig + %files %_libdir/*.so.* %doc CREDITS HISTORY INSTALL ChangeLog NEWS README TODO -#%_bindir/* %_man1dir/* %files devel %_libdir/*.so %_includedir/* %_bindir/ming-config -%doc CREDITS HISTORY INSTALL ChangeLog NEWS README TODO %files utils %_bindir/* %exclude %_bindir/ming-config -%doc CREDITS HISTORY INSTALL ChangeLog NEWS README TODO %changelog +* Tue Jul 03 2007 Igor Zubkov 0.3.0-alt2 +- remove dups for docs +- add requires %%name = %%version-%%release to %%name-utils package +- remove set_verify_elf_method textrel=relaxed +- run ldconfig after install and uninstall +- cleanup buildrequires +- fix license tag for utils (it's GPL, not LGPL) + * Wed Jun 20 2007 Alexandra Panyukova 0.3.0-alt1 - initial build