Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
specgen.sh
Package: gif2png-2.3.2.tar.gz [view]
Upload User: sorock1981
Upload Date: 2007-01-06
Package Size: 73k
Code Size: 1k
Category:
Picture Viewer
Development Platform:
Unix_Linux
- #!/bin/sh
- version=`sed -n -e "/AM_INIT_AUTOMAKE(gif2png, (.*))/s//\1/p" <configure.in`
- cat >gif2png.spec <<EOF
- Name: gif2png
- Version: $version
- Release: 1
- Summary: tools for converting websites from using GIFs to using PNGs
- Source: locke.ccil.org:/pub/esr/gif2png-$version.tar.gz
- Copyright: MIT-like
- Group: Graphics
- %%description
- Tools for converting GIFs to PNGs. The program gif2png converts GIF files
- to PNG files. The Python script web2png converts an entire web tree,
- also patching HTML pages to keep IMG SRC references correct.
- %prep
- %setup
- %build
- CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" # Add --enable-nls --without-included-gettext for internationalization
- export CFLAGS LDFLAGS
- ./configure -prefix=/usr
- make
- %install
- rm -f /usr/bin/gif2png
- cp gif2png web2png /usr/bin
- cp gif2png.1 /usr/man/man1/gif2png.1
- cp web2png.1 /usr/man/man1/web2png.1
- %files
- %doc README NEWS COPYING
- /usr/man/man1/gif2png.1
- /usr/man/man1/web2png.1
- /usr/bin/gif2png
- /usr/bin/web2png
- EOF