source: projects/specs/trunk/f/flasm/flasm-vl.spec @ 5469

Revision 5469, 2.7 KB checked in by munepi, 12 years ago (diff)

updated flasm-vl.spec

Line 
1%define name flasm
2%define version 1.62
3%define release 2%{?_dist_release}
4
5Summary: Flash bytecode assembler/disassembler
6Summary(ja): Flash バイトコード アセンブラ/逆アセンブラ
7Name: %{name}
8Version: %{version}
9Release: %{release}
10License: BSD-like
11Group: Development/Tools
12URL: http://www.nowrap.de/flasm.html
13Source0: http://www.nowrap.de/download/flasm162src.zip
14Source1: http://shield.jp/~dseg/rpms/flasm/flasm.1.gz
15Patch0:         flasm-1.62-midrule.patch
16
17#Requires:
18BuildRequires: unzip
19BuildRequires: bison
20BuildRequires: flex
21BuildRequires: gperf
22BuildRequires: zlib-devel
23BuildRoot: %{_tmppath}/%{name}-%{version}-root
24
25Vendor: Project Vine
26Distribution: Vine Linux
27
28
29%description
30Flasm is a free command line assembler/disassembler of Flash ActionScript
31bytecode. It lets you make changes to any SWF. Flasm fully supports SWFs
32produced by Macromedia Flash 8 and earlier Flash versions.
33
34%description -l ja
35Flasm は Flash ActionScript バイトコードのフリーなコマンドライン
36アセンブラ/逆アセンブラです。
37Flasm によって任意の SWF に変更を加えられます。
38Flasm は Macromedia Flash 8 とそれよりも早期の Flash のバージョンによって
39生成された SWF を完全にサポートします。
40
41
42%prep
43%setup -q -c
44%patch0 -p1 -b .midrule
45# cleanup perms and end of lines
46chmod -x *.TXT assembler.flex assembler.y *.c *.h *.ini Makefile \
47 keywords.gperf logo.gif classic.css flasm.html
48
49# Remove dos end of lines and convert to utf8
50%__sed -i 's/\r//' *.TXT classic.css %{name}.html %{name}.ini
51
52# man page associated with another flasm rpm
53%__gzip -cd %{SOURCE1} > %{name}.1
54
55
56%build
57# __make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
58%__make CFLAGS="$RPM_OPT_FLAGS"
59
60
61%install
62%__rm -rf %{buildroot}
63%__install -p -m 0755 -D %{name} %{buildroot}%{_bindir}/%{name}
64%__install -p -D %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
65
66
67%clean
68%__rm -rf %{buildroot}
69
70
71%files
72%defattr(-,root,root,-)
73%attr(0755,root,root)
74%{_bindir}/%{name}
75%doc *.TXT classic.css %{name}.html %{name}.ini logo.gif
76%{_mandir}/man1/%{name}.1*
77
78
79%changelog
80* Tue Jan 24 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.62-2
81- rebuild
82
83* Fri Jul 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.62-1
84- applied new versioning policy and spec in utf8
85- added BuildRequires: unzip
86- applied flasm-1.62-midrule.patch
87  for new bison, give type for $$ in midrule from Fedora development package
88- translated %%description -l ja
89- changed to %%defattr(-,root,root,-) in %%files
90
91* Wed Jun 27 2007 Atsushi SHICHI <ats777@gmail.com> 1.62-0vl2
92- fix permissions of docs.
93
94* Thu Jun 21 2007 Atsushi SHICHI <ats777@gmail.com> 1.62-0vl1
95- initial build for Vine Linux 4.1. Thanks to Daichi Shinozaki.
96
97
98# end of file
Note: See TracBrowser for help on using the repository browser.