]> git.pld-linux.org Git - packages/ming.git/blob - ming.spec
- rel 1
[packages/ming.git] / ming.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Ming - an SWF output library
3 Summary(pl):    Ming - biblioteka do produkcji plików SWF
4 Name:           ming
5 Version:        0.3.0
6 Release:        1
7 License:        LGPL
8 Group:          Libraries
9 Source0:        http://dl.sourceforge.net/ming/%{name}-%{version}.tar.gz
10 # Source0-md5:  56b29eeb4fdd0b98c9ee62e25d14841d
11 Patch0:         %{name}-DESTDIR.patch
12 Patch1:         %{name}-build.patch
13 URL:            http://ming.sourceforge.net/
14 BuildRequires:  giflib-devel
15 BuildRequires:  python-devel
16 BuildRequires:  rpm-perlprov >= 4.0.2-24
17 BuildRequires:  zlib-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Ming is a C library for generating SWF ("Flash") format movies, plus a
22 set of wrappers for using the library from c++ and popular scripting
23 languages like PHP, Python, and Ruby.
24
25 %description -l pl
26 Ming jest bibliotek± w C do generowania animacji w formacie SWF
27 ("Flash") wraz z zestawem wrapperów do u¿ywania jej z C++ i
28 popularnymi jêzykami skryptowymi, takimi jak PHP, Python i Ruby.
29
30 %package devel
31 Summary:        Ming development files
32 Summary(pl):    Pliki dla programistów Ming
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35
36 %description devel
37 Header files for ming library (C and C++).
38
39 %description devel -l pl
40 Pliki nag³ówkowe dla biblioteki ming (do C i C++).
41
42 %package static
43 Summary:        Ming static libraries
44 Group:          Development/Libraries
45 Requires:       %{name}-devel = %{version}-%{release}
46
47 %description static
48 Static ming library
49
50 %package utils
51 Summary:        Ming utilities
52 Summary(pl):    Narzêdzia Ming
53 Group:          Applications/File
54
55 %description utils
56 Ming utilities:
57 - listswf - swf format disassembler
58 - listfdb - show contents of fdb font file
59 - makefdb - rip fdb font definition files out of a generator template
60   file
61 - swftophp - attempt to make a php/ming script out of an swf file
62
63 %description utils -l pl
64 Narzêdzia Ming:
65 - listswf - disasembler plików swf
66 - listfdb - pokazuje zawarto¶æ plików fontów fdb
67 - makefdb - wyci±ga pliki definicji fontów fdb z pliku generatora
68 - swftophp - próbuje zrobiæ skrypt php/ming z pliku swf
69
70 %prep
71 %setup -q
72 %patch0 -p1
73 %patch1 -p1
74
75 %build
76 %configure
77 %{__make} -j1
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %doc CREDITS README TODO
94 %attr(755,root,root) %{_libdir}/libming.so.*
95
96 %files devel
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_libdir}/libming.so
99 %{_includedir}/ming.h
100 %{_includedir}/mingpp.h
101 %{_includedir}/ming_config.h
102
103 %files static
104 %defattr(644,root,root,755)
105 %{_libdir}/libming.a
106
107 %files utils
108 %defattr(644,root,root,755)
109 %doc util/{README,TODO}
110 %attr(755,root,root) %{_bindir}/dbl2png
111 %attr(755,root,root) %{_bindir}/gif2dbl
112 %attr(755,root,root) %{_bindir}/gif2mask
113 %attr(755,root,root) %{_bindir}/listaction
114 %attr(755,root,root) %{_bindir}/listaction_d
115 %attr(755,root,root) %{_bindir}/listfdb
116 %attr(755,root,root) %{_bindir}/listjpeg
117 %attr(755,root,root) %{_bindir}/listmp3
118 %attr(755,root,root) %{_bindir}/listswf
119 %attr(755,root,root) %{_bindir}/listswf_d
120 %attr(755,root,root) %{_bindir}/makefdb
121 %attr(755,root,root) %{_bindir}/makeswf
122 %attr(755,root,root) %{_bindir}/ming-config
123 %attr(755,root,root) %{_bindir}/png2dbl
124 %attr(755,root,root) %{_bindir}/png2swf
125 %attr(755,root,root) %{_bindir}/raw2adpcm
126 %attr(755,root,root) %{_bindir}/swftoperl
127 %attr(755,root,root) %{_bindir}/swftophp
128 %attr(755,root,root) %{_bindir}/swftopython
129 %{_mandir}/man1/makeswf.1*
This page took 0.033887 seconds and 4 git commands to generate.