rpms/ktechlab/devel ktechlab-0.3-pic.patch, NONE, 1.1 ktechlab-0.3.desktop.patch, NONE, 1.1 ktechlab.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chitlesh GOORAH (chitlesh) fedora-extras-commits at redhat.com
Wed Sep 27 17:22:50 UTC 2006


Author: chitlesh

Update of /cvs/extras/rpms/ktechlab/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26569/devel

Modified Files:
	.cvsignore sources 
Added Files:
	ktechlab-0.3-pic.patch ktechlab-0.3.desktop.patch 
	ktechlab.spec 
Log Message:
auto-import ktechlab-0.3-3 on branch devel from ktechlab-0.3-3.src.rpm

ktechlab-0.3-pic.patch:

--- NEW FILE ktechlab-0.3-pic.patch ---
--- 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.desktop.patch:

--- NEW FILE ktechlab-0.3.desktop.patch ---
--- 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


--- NEW FILE ktechlab.spec ---
Name:             ktechlab
Version:          0.3
Release:          3%{?dist}
Summary:          Development and simulation of microcontrollers and electronic circuits

License:          GPL
Group:            Applications/Engineering

URL:              http://ktechlab.org/
Source:           http://ktechlab.org/download/ktechlab-%{version}.tar.bz2

Patch0:           ktechlab-0.3-pic.patch
Patch1:           ktechlab-0.3.desktop.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
%{__rm} -rf autom4te.cache

%patch0 -p0 -b pic14.h
%patch1 -p0 -b ktechlab.desktop

%build
%configure --disable-rpath
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} DESTDIR=%{buildroot} install

desktop-file-install --vendor fedora \
    --add-category X-Fedora \
    --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
%{_bindir}/%{name}
%{_bindir}/microbe
%{_datadir}/apps/%{name}
%{_datadir}/apps/katepart/syntax/microbe.xml
%dir %{_datadir}/config.kcfg/
%{_datadir}/config.kcfg/%{name}.kcfg
%{_datadir}/mimelnk/application/*.desktop
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/doc/HTML/en/%{name}
%{_datadir}/icons/hicolor/*/*/*.png


%Changelog
* 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 %%port 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.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/ktechlab/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	27 Sep 2006 17:20:26 -0000	1.1
+++ .cvsignore	27 Sep 2006 17:22:50 -0000	1.2
@@ -0,0 +1 @@
+ktechlab-0.3.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ktechlab/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	27 Sep 2006 17:20:26 -0000	1.1
+++ sources	27 Sep 2006 17:22:50 -0000	1.2
@@ -0,0 +1 @@
+0cc2f2054f7906780c8580560f04b0ff  ktechlab-0.3.tar.bz2




More information about the scm-commits mailing list