[qcodeedit] Initial upload of qcodeedit
hannes
hannes at fedoraproject.org
Tue Jul 26 10:44:09 UTC 2011
commit 2bdf383dedc4da93ed5371b9e7a250a301563524
Author: johannes lips <johannes at fedorabox.localdomain>
Date: Tue Jul 26 12:43:41 2011 +0200
Initial upload of qcodeedit
.gitignore | 1 +
qcodeedit-2.2.3-remove-debug-flag.patch | 19 ++++++
qcodeedit.spec | 107 +++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 128 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3fe3f9e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/qcodeedit-2.2.3.tar.gz
diff --git a/qcodeedit-2.2.3-remove-debug-flag.patch b/qcodeedit-2.2.3-remove-debug-flag.patch
new file mode 100644
index 0000000..6dec9d2
--- /dev/null
+++ b/qcodeedit-2.2.3-remove-debug-flag.patch
@@ -0,0 +1,19 @@
+--- qcodeedit-2.2.3/qcodeedit.pro 2009-03-04 19:47:50.000000000 +0100
++++ qcodeedit-2.2.3/qcodeedit.pro 2011-07-25 21:15:06.826550970 +0200
+@@ -1,6 +1,5 @@
+ TEMPLATE = subdirs
+
+-CONFIG += debug
+
+ SUBDIRS += lib example designer-plugin
+
+--- qcodeedit-2.2.3/lib/lib.pro 2008-10-25 23:36:13.000000000 +0200
++++ qcodeedit-2.2.3/lib/lib.pro 2011-07-25 21:16:12.088945405 +0200
+@@ -5,7 +5,6 @@
+ TEMPLATE = lib
+ TARGET = qcodeedit
+ DESTDIR = ..
+-CONFIG += debug
+
+ DEPENDPATH += . document language widgets qnfa
+ INCLUDEPATH += . document language widgets qnfa
diff --git a/qcodeedit.spec b/qcodeedit.spec
new file mode 100644
index 0000000..75933d1
--- /dev/null
+++ b/qcodeedit.spec
@@ -0,0 +1,107 @@
+Name: qcodeedit
+Version: 2.2.3
+Release: 7%{?dist}
+Summary: Qt-Framework for code editing
+Group: System Environment/Libraries
+License: GPLv3
+URL: http://qcodeedit.edyuk.org/
+Source0: http://downloads.sourceforge.net/edyuk/%{name}-%{version}.tar.gz
+Patch0: qcodeedit-2.2.3-remove-debug-flag.patch
+BuildRequires: qt4-devel
+
+%description
+QCodeEdit is a framework designed to make edition of source
+code easy for both users and developers.
+It is written in C++ using the Qt 4 framework which make it cross-platform.
+QCodeEdit has been designed for three main purposes:
+- efficiency
+- flexibility
+- ease of use
+QCodeEdit is much more lightweight and significantly faster than
+QTextEdit/QTextDocument.
+However it also has different goals and thus limitations. QCodeEdit is
+meant to work with source files and not any kind of rich
+text like QTextEdit handles so well.
+
+
+#-devel package
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: qt4-devel
+BuildRequires: doxygen
+
+%description devel
+This package contains the development files for %{name}.
+
+%prep
+%setup -q
+%patch0 -p1
+chmod 644 README.txt
+
+%build
+export QTDIR=%{_libdir}/qt4
+sed -i 's:example::g' %name.pro
+qmake-qt4 %{name}.pro
+make
+
+# Build html devel documentation
+doxygen
+
+%install
+make INSTALL_ROOT=%{buildroot} install
+mkdir -p %{buildroot}%{_datadir}/%{name}
+mkdir -p %{buildroot}%{_libdir}/%
+cp -a lib%{name}.* %{buildroot}%{_libdir}
+cp -a example %{buildroot}%{_datadir}/%{name}
+chmod 755 %{buildroot}%{_libdir}/lib%{name}.so.*
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%doc README.txt GPL.txt
+%{_libdir}/lib%{name}.so.*
+%{_libdir}/qt4/plugins/designer/libqcodeedit-plugin.so
+
+%files devel
+%doc doc/html/*
+%{_libdir}/lib%{name}.so
+%{_includedir}/QCodeEdit
+%{_libdir}/qt4/mkspecs/features/%name.prf
+%{_datadir}/%name
+
+
+
+
+%changelog
+* Mon Jul 25 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2.3-7
+- added Patch0 to remove the debug flag
+
+* Mon Jul 25 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2.3-6
+- moved the qt4-devel requirement to the devel package
+
+* Mon Jul 25 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2.3-5
+- dropped the qt-devel requirement of the devel package
+- fixed file permissions
+
+* Mon Jul 25 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2.3-4
+- moved the designer plugin into the main package
+- added a requirement for qt4-devel
+
+* Mon Jul 25 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2.3-3
+- fixed various requirements
+- fixed file permissions
+- removed the seperate designer subpackage
+- removed the deletion of the buildroot in the install section
+
+* Mon Jul 25 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2.3-2
+- removed the lib prefix from the package
+- adapted the sourceforge url
+- fixed various build and normal requirements
+- added the doxygen documentation to the devel subpackage
+- removed the second qmake-qt4
+
+* Sun Jul 24 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2.3-1
+- initial fedora package
diff --git a/sources b/sources
index e69de29..defcf7b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e2453d8e97c2592a870bbddd51876ad0 qcodeedit-2.2.3.tar.gz
More information about the scm-commits
mailing list