packages: qedje/qedje.spec - 0.4.0 git

shadzik shadzik at pld-linux.org
Mon May 11 19:26:31 CEST 2009


Author: shadzik                      Date: Mon May 11 17:26:31 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- 0.4.0 git

---- Files affected:
packages/qedje:
   qedje.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/qedje/qedje.spec
diff -u packages/qedje/qedje.spec:1.6 packages/qedje/qedje.spec:1.7
--- packages/qedje/qedje.spec:1.6	Fri Feb  6 18:01:01 2009
+++ packages/qedje/qedje.spec	Mon May 11 19:26:26 2009
@@ -1,24 +1,24 @@
 # $Revision$, $Date$
 
-%define		qtver	4.4.3
+%define		qtver	4.5.0
 
 Summary:	qedje
 Summary(pl.UTF-8):	qedje
 Name:		qedje
-Version:	0.3.0
-Release:	1
+Version:	0.4.0
+Release:	0.git.1
 License:	GPL v2
 Group:		X11/Libraries
-Source0:	http://dev.openbossa.org/%{name}/downloads/source/%{name}/%{name}-%{version}.tar.gz
-# Source0-md5:	7435e3631fd44dce4086afe8698cdb13
-Patch0:		%{name}-lib64.patch
+#Source0:	http://dev.openbossa.org/%{name}/downloads/source/%{name}/%{name}-%{version}.tar.gz
+Source0:	%{name}-%{version}-git.tar.gz
+# Source0-md5:	062a73e4ce76ae4513aa772504db572d
 URL:		http://dev.openbossa.org/trac/qedje
 BuildRequires:	QtCore-devel >= %{qtver}
 BuildRequires:	QtGui-devel >= %{qtver}
 BuildRequires:	eet-devel
 BuildRequires:	pkgconfig
 BuildRequires:	qt4-qmake >= %{qtver}
-BuildRequires:	qzion-devel
+BuildRequires:	qzion-devel >= 0.4.0
 BuildRequires:	rpmbuild(macros) >= 1.164
 Requires(post,postun):	/sbin/ldconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -42,20 +42,26 @@
 Pliki nagłówkowe biblioteki qedje.
 
 %prep
-%setup -q
-%patch0 -p0
+%setup -q -n %{name}-%{version}-git
 
 %build
-qmake-qt4 \
-	PREFIX=%{_prefix} \
-	LIB=%{_lib}
+install -d build
+cd build
+%cmake \
+	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
+	-DCMAKE_BUILD_TYPE=%{!?debug:release}%{?debug:debug} \
+%if "%{_lib}" == "lib64"
+	-DLIB_SUFFIX=64 \
+%endif
+	../
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
-	INSTALL_ROOT=$RPM_BUILD_ROOT
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -65,10 +71,9 @@
 
 %files
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/qedje_viewer
 %attr(755,root,root) %{_libdir}/libqedje.so.*.*.*
-%attr(755,root,root) %{_libdir}/libqedje.prl
 %attr(755,root,root) %ghost %{_libdir}/libqedje.so.?
-%attr(755,root,root) %ghost %{_libdir}/libqedje.so.?.?
 
 %files devel
 %defattr(644,root,root,755)
@@ -82,6 +87,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2009/05/11 17:26:26  shadzik
+- 0.4.0 git
+
 Revision 1.6  2009/02/06 17:01:01  witekfl
 - utf8
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/qedje/qedje.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list