SPECS: f4lm.spec - up to 0.2 - changed name on f4l, proper license...

charles charles at pld-linux.org
Sat Jul 16 01:12:57 CEST 2005


Author: charles                      Date: Fri Jul 15 23:12:57 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.2
- changed name on f4l, proper license
- BR: qmake, rpmbuild(macros) >= 1.167, sed >= 4.0
- removed BR automake, removed %%doc (lack)

---- Files affected:
SPECS:
   f4lm.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/f4lm.spec
diff -u SPECS/f4lm.spec:1.5 SPECS/f4lm.spec:1.6
--- SPECS/f4lm.spec:1.5	Sat Mar 19 13:33:42 2005
+++ SPECS/f4lm.spec	Sat Jul 16 01:12:52 2005
@@ -1,18 +1,19 @@
 # $Revision$, $Date$
-%define		_src_name	F4L-BETA
 Summary:	SWF designer and generator
 Summary(pl):	Program do projektowania i generowania SWF-ów
-Name:		f4lm
+Name:		f4l
 Version:	0.2
-Release:	0.beta.1
-License:	GPL
+Release:	1
+License:	GPL v2
 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/
-BuildRequires:	automake
+BuildRequires:	qmake
 BuildRequires:	qt-devel
+BuildRequires:	rpmbuild(macros) >= 1.167
+BuildRequires:	sed >= 4.0
+Obsoletes:	f4lm
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -22,28 +23,25 @@
 Program do projektowania i generowania SWF-ów.
 
 %prep
-%setup -q -n %{_src_name}
+%setup -q
 
 %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 -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)
-%doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -52,6 +50,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/07/15 23:12:52  charles
+- up to 0.2
+- changed name on f4l, proper license
+- BR: qmake, rpmbuild(macros) >= 1.167, sed >= 4.0
+- removed BR automake, removed %%doc (lack)
+
 Revision 1.5  2005/03/19 12:33:42  charles
 - updated to 0.2 beta
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/f4lm.spec?r1=1.5&r2=1.6&f=u




More information about the pld-cvs-commit mailing list