rpms/qdevelop/F-12 .cvsignore, 1.4, 1.5 qdevelop.spec, 1.9, 1.10 sources, 1.4, 1.5 qdevelop-0.27.4-qt451.patch, 1.1, NONE

Nicoleau Fabien eponyme at fedoraproject.org
Tue Apr 20 17:21:53 UTC 2010


Author: eponyme

Update of /cvs/pkgs/rpms/qdevelop/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv21189

Modified Files:
	.cvsignore qdevelop.spec sources 
Removed Files:
	qdevelop-0.27.4-qt451.patch 
Log Message:
Update to 0.28


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/qdevelop/F-12/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- .cvsignore	5 Mar 2009 22:09:19 -0000	1.4
+++ .cvsignore	20 Apr 2010 17:21:52 -0000	1.5
@@ -1 +1 @@
-qdevelop-0.27.4.tar.gz
+qdevelop-v0.28.tar.gz


Index: qdevelop.spec
===================================================================
RCS file: /cvs/pkgs/rpms/qdevelop/F-12/qdevelop.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- qdevelop.spec	30 Jul 2009 22:35:16 -0000	1.9
+++ qdevelop.spec	20 Apr 2010 17:21:53 -0000	1.10
@@ -1,15 +1,12 @@
 Name:           qdevelop
-Version:        0.27.4
-Release:        4%{?dist}
+Version:        0.28
+Release:        1%{?dist}
 Summary:        Development environment dedicated to Qt4
 
 Group:          Development/Tools
 License:        GPLv2+
-URL:            http://qdevelop.org/
-Source0:        %{name}-%{version}.tar.gz
-Source1:        %{name}.desktop
-# fix failure to compile a project with Qt 4.5.1 (#497734)
-Patch0:         qdevelop-0.27.4-qt451.patch
+URL:            http://biord-software.org/fr/qdevelop/
+Source0:        http://biord-software.org/downloads/%{name}-v%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  desktop-file-utils
@@ -21,28 +18,56 @@ which requires Qt4, gcc under Linux or M
 possibly gdb for program debugging and ctags for code completion.
 
 
+%package plugins
+Summary: Plugins for qdevelop 
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description plugins
+Plugins for qdevelop
+
 %prep
-%setup -q
-%patch0 -p1 -b .qt451
+%setup -q -n %{name}-v%{version}
 # for wrong-script-end-of-line-encoding
 sed -i -e 's/\r//' README.txt
 # hardcoded lib path 
 sed -i -e "s/lib/%{_lib}/" src/mainimpl.cpp
+# Change translation directory
+sed -i -e "s/lib\//share\//" src/main.cpp
+
 
 %build
+lrelease-qt4 QDevelop.pro
 qmake-qt4 -recursive 
 make %{?_smp_mflags}
+# plugins compilation
+cd plugins
+for pluginName in $(ls)
+do
+   cd $pluginName
+   qmake-qt4
+   make %{?_smp_mflags}
+   cd ..
+done
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make install INSTALL_ROOT=$RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/ $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/ $RPM_BUILD_ROOT%{_datadir}/%{name}/translations/
+install -D -p bin/plugins/*.so $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/
+install -Dm 644 -p resources/translations/*.qm $RPM_BUILD_ROOT%{_datadir}/%{name}/translations/
 install -Dm 644 -p resources/images/logo.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.png
 desktop-file-install --vendor="" \
   --mode 644 \
   --dir $RPM_BUILD_ROOT%{_datadir}/applications/ \
-  %{SOURCE1}
+  %{name}.desktop
+
+%post
+update-desktop-database &> /dev/null || :
+
+%postun
+update-desktop-database &> /dev/null || :
 
 
 %clean
@@ -55,12 +80,21 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/qdevelop
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/pixmaps/%{name}.png
+%{_datadir}/%{name}
 
+%files plugins
+%defattr(-,root,root,-)
+%doc copying
+%{_libdir}/%{name}/plugins/
 
 %changelog
+* Sun Apr 18 2010 Nicoleau Fabien <nicoleau.fabien at gmail.com> - 0.28-1
+- Update to 0.28
+- Patch for qt 4.5.1 no more required
+- New plugins package
+- Using translation files
 * Thu Jul 30 2009 Jesse Keating <jkeating at redhat.com> - 0.27.4-4
 - Bump for F12 mass rebuild
-
 * Thu Apr 30 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 0.27.4-3
 - Fix failure to compile a project with Qt 4.5.1 (#497734, patch by Than Ngo)
 * Wed Apr 22 2009 Nicoleau Fabien <nicoleau.fabien at gmail.com> - 0.27.4-2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/qdevelop/F-12/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- sources	5 Mar 2009 22:09:20 -0000	1.4
+++ sources	20 Apr 2010 17:21:53 -0000	1.5
@@ -1 +1 @@
-0ea8b3b2ed15bfa275d5c03f40cb871b  qdevelop-0.27.4.tar.gz
+24e64bd80dd7407a885acd639b59a740  qdevelop-v0.28.tar.gz


--- qdevelop-0.27.4-qt451.patch DELETED ---



More information about the scm-commits mailing list