]>
Commit | Line | Data |
---|---|---|
4e620521 | 1 | Summary: SWF designer and generator |
cc1fb485 | 2 | Summary(pl.UTF-8): Program do projektowania i generowania SWF-ów |
c4cc378e | 3 | Name: f4l |
8f0e7468 | 4 | Version: 0.2.1 |
c4cc378e KK |
5 | Release: 1 |
6 | License: GPL v2 | |
4e620521 | 7 | Group: X11/Applications/Publishing |
c4cc378e | 8 | Source0: http://dl.sourceforge.net/f4l/%{name}-%{version}.tar.bz2 |
8f0e7468 | 9 | # Source0-md5: dcc2ef251814008e753becb933afb266 |
4e620521 | 10 | URL: http://f4l.sourceforge.net/ |
c4cc378e | 11 | BuildRequires: qmake |
4e620521 | 12 | BuildRequires: qt-devel |
c4cc378e KK |
13 | BuildRequires: rpmbuild(macros) >= 1.167 |
14 | BuildRequires: sed >= 4.0 | |
15 | Obsoletes: f4lm | |
4e620521 TP |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | SWF designer and generator. | |
20 | ||
e3c146f5 JR |
21 | %description -l pl.UTF-8 |
22 | Program do projektowania i generowania SWF-ów. | |
4e620521 TP |
23 | |
24 | %prep | |
c4cc378e | 25 | %setup -q |
4e620521 TP |
26 | |
27 | %build | |
8f0e7468 | 28 | %{__sed} -i 's,/usr/share/qt3,%{_datadir}/qt,' Makefile |
c4cc378e KK |
29 | %{__make} \ |
30 | CXXFLAGS="%{rpmcxxflags} -Wno-deprecated" \ | |
31 | QTDIR="%{_prefix}" | |
4e620521 TP |
32 | |
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
c4cc378e | 35 | install -d $RPM_BUILD_ROOT%{_bindir} |
4e620521 | 36 | |
c4cc378e | 37 | install bin/* $RPM_BUILD_ROOT%{_bindir} |
4e620521 TP |
38 | |
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
4e620521 | 44 | %attr(755,root,root) %{_bindir}/* |