rpms/ktechlab/FC-5 ktechlab-0.3.desktop.patch, 1.2, 1.3 ktechlab-0.3-pic.patch, 1.2, 1.3 ktechlab-0.3-ppc-includes.patch, 1.2, 1.3 ktechlab.spec, 1.6, 1.7

Chitlesh GOORAH (chitlesh) fedora-extras-commits at redhat.com
Thu Apr 26 15:00:34 UTC 2007


Author: chitlesh

Update of /cvs/extras/rpms/ktechlab/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19173/FC-5

Added Files:
	ktechlab-0.3.desktop.patch ktechlab-0.3-pic.patch 
	ktechlab-0.3-ppc-includes.patch ktechlab.spec 
Log Message:


ktechlab-0.3.desktop.patch:

Index: ktechlab-0.3.desktop.patch
===================================================================
RCS file: ktechlab-0.3.desktop.patch
diff -N ktechlab-0.3.desktop.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ktechlab-0.3.desktop.patch	26 Apr 2007 14:59:59 -0000	1.3
@@ -0,0 +1,10 @@
+--- src/ktechlab.desktop	2005-12-30 12:22:12.000000000 +0100
++++ ktechlab.desktop	2006-09-15 13:34:36.000000000 +0200
+@@ -6,6 +6,6 @@
+ Type=Application
+ DocPath=ktechlab/index.html
+ Comment=An IDE for microcontrollers and electronics
+-Terminal=0
++Terminal=false
+ MimeType=application/x-ktechlab;application/x-flowcode;application/x-circuit;application/x-microbe;
+ Categories=Qt;KDE;Education;Science;Electronics

ktechlab-0.3-pic.patch:

Index: ktechlab-0.3-pic.patch
===================================================================
RCS file: ktechlab-0.3-pic.patch
diff -N ktechlab-0.3-pic.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ktechlab-0.3-pic.patch	26 Apr 2007 14:59:59 -0000	1.3
@@ -0,0 +1,11 @@
+--- microbe/pic14.h	2006-09-15 10:55:41.000000000 +0200
++++ pic14.h	2006-09-15 10:55:55.000000000 +0200
+@@ -96,7 +96,7 @@
+ 			Delay_50S	= 4,
+ 		};
+ 		
+-		PIC14::PIC14( Microbe * master, Type type );
++		PIC14( Microbe * master, Type type );
+ 		~PIC14();
+ 		
+ 		/**

ktechlab-0.3-ppc-includes.patch:

Index: ktechlab-0.3-ppc-includes.patch
===================================================================
RCS file: ktechlab-0.3-ppc-includes.patch
diff -N ktechlab-0.3-ppc-includes.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ktechlab-0.3-ppc-includes.patch	26 Apr 2007 14:59:59 -0000	1.3
@@ -0,0 +1,10 @@
+--- ktechlab-0.3/src/electronics/port.cpp.headers	2006-01-01 22:51:37.000000000 +0900
++++ ktechlab-0.3/src/electronics/port.cpp	2006-10-14 00:28:12.000000000 +0900
+@@ -16,7 +16,6 @@
+ #include <fcntl.h>
+ #include <linux/ppdev.h>
+ #include <sys/ioctl.h>
+-#include <sys/io.h>
+ #include <unistd.h>
+ 
+ //BEGIN class Port


Index: ktechlab.spec
===================================================================
RCS file: ktechlab.spec
diff -N ktechlab.spec
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ktechlab.spec	26 Apr 2007 14:59:59 -0000	1.7
@@ -0,0 +1,137 @@
+Name:             ktechlab
+Version:          0.3.6
+Release:          2%{?dist}
+Summary:          Development and simulation of microcontrollers and electronic circuits
+
+License:          GPL
+Group:            Applications/Engineering
+
+URL:              http://sourceforge.net/projects/ktechlab/
+Source:           http://downloads.sourceforge.net/ktechlab/%{name}-%{version}.tar.bz2
+
+Patch0:           ktechlab-0.3-pic.patch
+Patch1:           ktechlab-0.3.desktop.patch
+Patch2:           ktechlab-0.3-ppc-includes.patch
+
+BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:    gpsim-devel readline-devel kdelibs-devel
+BuildRequires:    desktop-file-utils
+
+# Ktechlab requires gputils for PIC simulation.
+Requires:         gputils
+
+%description
+KTechlab is a development and simulation environment for microcontrollers
+and electronic circuits, distributed under the GNU General Public License.
+
+KTechlab consists of several well-integrated components:
+A circuit simulator, capable of simulating logic, linear devices and some
+nonlinear devices.
+* Integration with gpsim, allowing PICs to be simulated in circuit.
+* A schematic editor, which provides a rich real-time feedback of the
+simulation.
+* A flowchart editor, allowing PIC programs to be constructed visually.
+* MicroBASIC; a BASIC-like compiler for PICs, written as a companion program
+to KTechlab.
+* An embedded Kate part, which provides a powerful editor for PIC programs.
+* Integrated assembler and disassembler via gpasm and gpdasm.
+
+%prep
+%setup -q -n %{name}-0.3
+%{__rm} -rf autom4te.cache
+
+%patch0 -p0 -b pic14.h
+%patch1 -p0 -b ktechlab.desktop
+%ifarch ppc
+%patch2 -p1 -b .ppc-includes
+%endif
+
+%build
+%configure --disable-rpath
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} DESTDIR=%{buildroot} install
+
+desktop-file-install --vendor ""                \
+    --add-category Enginneering                 \
+    --delete-original                           \
+    --dir %{buildroot}%{_datadir}/applications/ \
+    %{buildroot}%{_datadir}/applnk/Development/%{name}.desktop
+
+# Fix absolute symlink
+%{__rm} -f %{buildroot}%{_docdir}/HTML/en/%{name}/common
+
+# No translation
+#%find_lang %{name}
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post
+touch --no-create %{_datadir}/icons/hicolor || :
+%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+%{_bindir}/update-desktop-database %{_datadir}/applications || :
+
+%postun
+touch --no-create %{_datadir}/icons/hicolor || :
+%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+%{_bindir}/update-desktop-database %{_datadir}/applications || :
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING TODO
+%doc %{_datadir}/doc/HTML/en/%{name}
+%{_bindir}/%{name}
+%{_bindir}/microbe
+%{_datadir}/apps/%{name}
+%{_datadir}/apps/katepart/syntax/microbe.xml
+%{_datadir}/config.kcfg/%{name}.kcfg
+%{_datadir}/mimelnk/application/*.desktop
+%{_datadir}/applications/fedora-%{name}.desktop
+%{_datadir}/icons/hicolor/*/*/*.png
+
+
+%Changelog
+* Fri Apr 20 2007 Chitlesh Goorah <chitlesh at fedoraproject.org> - 0.3.6-2
+- rebuild
+
+* Wed Apr 18 2007 Chitlesh Goorah <chitlesh at fedoraproject.org> - 0.3.6-1
+- New svn snapshot
+
+* Wed Jan 03 2007 Chitlesh Goorah <chitlesh at fedoraproject.org> - 0.3-10 #development release
+- New development snapshot - 20070103
+- dropped ktechlab-check.patch
+
+* Thu Dec 28 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> - 0.3-9 #development release
+- uncomment define CHECK in src/electronics/simulation/elementset.cpp
+
+* Wed Dec 27 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> - 0.3-8 #development release
+- New development snapshot - 20061227
+
+* Mon Dec 25 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> - 0.3-7 #development release
+- New development snapshot - Providing testing facilities to upstream
+- dropped ktechlab-0.3-pic.patch
+- package does not ship autom4te.cache anymore
+- fixed missing make for src/math
+
+* Wed Nov 22 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> - 0.3-6
+- Rebuilt due to new gpsim-devel release
+
+* Fri Oct 13 2006 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.3-5
+- Try to fix compilation on ppc.
+
+* Mon Sep 25 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> - 0.3-3
+- Added gputils as requires
+
+* Thu Sep 21 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> - 0.3-2
+- Removed gputils and gpsim as requires
+- Removed autom4te.cache directory
+- Owning %%{_datadir}/config.kcfg/
+- Removed ldconfig from %%post and %%postun
+- Removed gettext, libtool and autoconf as BR
+
+* Fri Sep 15 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> - 0.3-1
+- Initial package for Fedora Extras.




More information about the scm-commits mailing list