ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Igor Zubkov <icesik@mail.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] libming [patch for spec]
Date: Tue, 3 Jul 2007 16:27:14 +0300
Message-ID: <200707031627.16047.icesik@mail.ru> (raw)

[-- 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

                 reply	other threads:[~2007-07-03 13:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200707031627.16047.icesik@mail.ru \
    --to=icesik@mail.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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