diff --git a/README.md b/README.md index 219bc41..ef906d2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # cutecom +CuteCom is a graphical serial terminal, like minicom. + diff --git a/cutecom-0.14.2-desktopfile.patch b/cutecom-0.14.2-desktopfile.patch new file mode 100644 index 0000000..245e724 --- /dev/null +++ b/cutecom-0.14.2-desktopfile.patch @@ -0,0 +1,8 @@ +diff -Nru cutecom-0.14.2.orig/cutecom.desktop cutecom-0.14.2/cutecom.desktop +--- cutecom-0.14.2.orig/cutecom.desktop 2008-03-10 23:53:45.000000000 +0100 ++++ cutecom-0.14.2/cutecom.desktop 2008-07-05 19:54:44.000000000 +0200 +@@ -11,3 +11,4 @@ + Type=Application + Terminal=0 + X-KDE-StartupNotify=false ++Categories=Application;QT;Network; diff --git a/cutecom-0.20.0-install_man.patch b/cutecom-0.20.0-install_man.patch new file mode 100644 index 0000000..9e270b3 --- /dev/null +++ b/cutecom-0.20.0-install_man.patch @@ -0,0 +1,12 @@ +diff -Nru cutecom-0.20.0.orig/CMakeLists.txt cutecom-0.20.0/CMakeLists.txt +--- cutecom-0.20.0.orig/CMakeLists.txt 2008-03-12 22:09:49.000000000 +0100 ++++ cutecom-0.20.0/CMakeLists.txt 2008-12-18 18:06:55.000000000 +0100 +@@ -17,7 +17,7 @@ + + install(TARGETS cutecom DESTINATION bin ) + +-install(FILES cutecom.1 DESTINATION man/man1 ) ++install(FILES cutecom.1 DESTINATION share/man/man1 ) + + find_program(KDECONFIG_EXECUTABLE NAMES kde-config ) + diff --git a/cutecom.spec b/cutecom.spec new file mode 100644 index 0000000..a169ae1 --- /dev/null +++ b/cutecom.spec @@ -0,0 +1,66 @@ +Name: cutecom +Version: 0.22.0 +Release: 2mamba +Summary: A graphical serial terminal, like minicom +Group: Graphical Desktop/Applications/Networking +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://cutecom.sourceforge.net/ +Source: http://cutecom.sourceforge.net/cutecom-%{version}.tar.gz +Patch0: %{name}-0.14.2-desktopfile.patch +Patch1: %{name}-0.20.0-install_man.patch +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libqt-devel +BuildRequires: libstdc++6-devel +BuildRequires: libX11-devel +BuildRequires: libXext-devel +## AUTOBUILDREQ-END + +%description +CuteCom is a graphical serial terminal, like minicom. + +%prep +%setup -q +%patch0 -p1 +#%patch1 -p1 + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%makeinstall -C build +#install -D -m0755 cutecom %{buildroot}%{_bindir}/cutecom +#install -D -m0644 cutecom.desktop %{buildroot}%{_datadir}/applications/cutecom.desktop + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%{_bindir}/cutecom +%{_kdedatadir}/applnk/Utilities/cutecom.desktop +%{_mandir}/man1/cutecom.* +%doc Changelog COPYING README + +%changelog +* Tue Jul 16 2013 Automatic Build System 0.22.0-2mamba +- automatic rebuild by autodist + +* Wed Jul 01 2009 Automatic Build System 0.22.0-1mamba +- automatic update by autodist + +* Thu Dec 18 2008 Silvan Calarco 0.20.0-1mamba +- automatic update by autodist + +* Sat Jul 05 2008 Silvan Calarco 0.14.2-1mamba +- update to 0.14.2 + +* Thu Feb 09 2006 Silvan Calarco 0.13.2-1qilnx +- package created by autospec