]> git.pld-linux.org Git - packages/f4l.git/commitdiff
- up to 0.2
authorKarol Krenski <charles@pld-linux.org>
Fri, 15 Jul 2005 23:12:52 +0000 (23:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- changed name on f4l, proper license
- BR: qmake, rpmbuild(macros) >= 1.167, sed >= 4.0
- removed BR automake, removed %%doc (lack)

Changed files:
    f4l.spec -> 1.6

f4l.spec

index f069b1373e4021e00fa365c06a0091dfe6426b8c..67671e93d9db04dbe8c8cc0e5dd30ac5ea7c7788 100644 (file)
--- a/f4l.spec
+++ b/f4l.spec
@@ -1,17 +1,18 @@
-%define                _src_name       F4L-BETA
 Summary:       SWF designer and generator
 Summary(pl):   Program do projektowania i generowania SWF-ów
 Summary:       SWF designer and generator
 Summary(pl):   Program do projektowania i generowania SWF-ów
-Name:          f4lm
+Name:          f4l
 Version:       0.2
 Version:       0.2
-Release:       0.beta.1
-License:       GPL
+Release:       1
+License:       GPL v2
 Group:         X11/Applications/Publishing
 Group:         X11/Applications/Publishing
-#Source0:      http://dl.sourceforge.net/f4l/%{name}-%{version}.tar.gz
-Source0:       http://dl.sourceforge.net/f4l/%{_src_name}-%{version}.tar.bz2
-# Source0-md5: 6eaea1d9863518c663545ccb0cdf958f
+Source0:       http://dl.sourceforge.net/f4l/%{name}-%{version}.tar.bz2
+# Source0-md5: d123d5108b1e434de7d1195d7046a4e9
 URL:           http://f4l.sourceforge.net/
 URL:           http://f4l.sourceforge.net/
-BuildRequires: automake
+BuildRequires: qmake
 BuildRequires: qt-devel
 BuildRequires: qt-devel
+BuildRequires: rpmbuild(macros) >= 1.167
+BuildRequires: sed >= 4.0
+Obsoletes:     f4lm
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -21,26 +22,23 @@ SWF designer and generator.
 Program do projektowania i generowania SWF-ów.
 
 %prep
 Program do projektowania i generowania SWF-ów.
 
 %prep
-%setup -q -n %{_src_name}
+%setup -q
 
 %build
 
 %build
-cp -f /usr/share/automake/config.sub admin
-rm config.cache
-
-%configure2_13 \
-       --with-qt-libraries=%{_libdir}
-%{__make}
+%{__sed} -i 's,mkspecs.*,share/qt/mkspecs/default/qmake.conf,' Makefile
+%{__make} \
+       CXXFLAGS="%{rpmcxxflags} -Wno-deprecated" \
+       QTDIR="%{_prefix}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
 
 
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+install bin/* $RPM_BUILD_ROOT%{_bindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_bindir}/*
This page took 0.145452 seconds and 4 git commands to generate.