SPECS: cutecom.spec - 0.20.0 - switch to Qt4, man_path patch added for prop...
blues
blues at pld-linux.org
Tue Mar 24 16:59:00 CET 2009
Author: blues Date: Tue Mar 24 15:59:00 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- 0.20.0 - switch to Qt4, man_path patch added for proper manual location.
---- Files affected:
SPECS:
cutecom.spec (1.14 -> 1.15)
---- Diffs:
================================================================
Index: SPECS/cutecom.spec
diff -u SPECS/cutecom.spec:1.14 SPECS/cutecom.spec:1.15
--- SPECS/cutecom.spec:1.14 Mon Dec 31 10:01:53 2007
+++ SPECS/cutecom.spec Tue Mar 24 16:58:55 2009
@@ -2,15 +2,16 @@
Summary: A graphical serial terminal
Summary(pl.UTF-8): Graficzny terminal szeregowy
Name: cutecom
-Version: 0.14.1
-Release: 2
+Version: 0.20.0
+Release: 1
License: GPL v2
Group: Applications/Communications
Source0: http://cutecom.sourceforge.net/%{name}-%{version}.tar.gz
-# Source0-md5: 6e6057b82cbe086806c6d66a1b48c753
-URL: http://cutecom.sourceforge.net
-BuildRequires: qmake
-BuildRequires: qt-devel
+# Source0-md5: a42394c3a29a2dc30edab721469f5eee
+URL: http://cutecom.sourceforge.net/
+Patch0: %{name}-man_path.patch
+BuildRequires: cmake > 2.4.3
+BuildRequires: qt4-build
BuildRequires: rpmbuild(macros) >= 1.167
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -26,19 +27,22 @@
%prep
%setup -q
+%patch0 -p1
+
echo "Categories=Qt;TerminalEmulator;" >> ./cutecom.desktop
%build
-qmake \
- QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}"
-%{__make} \
- QTDIR=%{_prefix}
+%cmake \
+ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+ .
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
+install -d $RPM_BUILD_ROOT%{_desktopdir}
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
-install cutecom $RPM_BUILD_ROOT%{_bindir}
install cutecom.desktop $RPM_BUILD_ROOT%{_desktopdir}
%clean
@@ -46,9 +50,10 @@
%files
%defattr(644,root,root,755)
-%doc Changelog README
-%attr(755,root,root) %{_bindir}/*
+%doc Changelog README TODO
+%attr(755,root,root) %{_bindir}/cutecom
%{_desktopdir}/*.desktop
+%{_mandir}/man1/*.1*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -56,6 +61,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.15 2009/03/24 15:58:55 blues
+- 0.20.0 - switch to Qt4, man_path patch added for proper manual location.
+
Revision 1.14 2007/12/31 09:01:53 blues
- not Utility but TerminalEmulator
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cutecom.spec?r1=1.14&r2=1.15&f=u
More information about the pld-cvs-commit
mailing list