ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] libming [patch for spec]
@ 2007-07-03 13:27 Igor Zubkov
  0 siblings, 0 replies; only message in thread
From: Igor Zubkov @ 2007-07-03 13:27 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 22 bytes --]

Приложите.
-- 
icesik

[-- Attachment #2: libming.spec.patch --]
[-- Type: text/x-diff, Size: 1962 bytes --]

--- 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 <icesik@altlinux.org> 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 <mex3@altlinux.ru> 0.3.0-alt1
 - initial build

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-03 13:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-03 13:27 [devel] libming [patch for spec] Igor Zubkov

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git