Author: wolf Date: Wed Oct 17 21:09:10 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - 0.3.6 - qt frontend - clean python dirs
---- Files affected: SPECS: recordmydesktop.spec (1.14 -> 1.15) ---- Diffs: ================================================================ Index: SPECS/recordmydesktop.spec diff -u SPECS/recordmydesktop.spec:1.14 SPECS/recordmydesktop.spec:1.15 --- SPECS/recordmydesktop.spec:1.14 Sun Apr 22 12:03:12 2007 +++ SPECS/recordmydesktop.spec Wed Oct 17 23:09:04 2007 @@ -2,21 +2,24 @@ # # Conditional build %bcond_without gtk # don't build GTK+ frontend +%bcond_without qt # don't build Qt frontend %bcond_without x # don't build for X Window System frontends %define module recordMyDesktop # Summary: Desktop session recorder Summary(pl.UTF-8): Rejestrator pulpitu Name: recordmydesktop -Version: 0.3.4 -Release: 2 +Version: 0.3.6 +Release: 1 License: GPL v2+ Group: X11/Applications Source0: http://dl.sourceforge.net/recordmydesktop/%{name}-%{version}.tar.gz -# Source0-md5: 56163494390dd208213c1563043eb3ee +# Source0-md5: 67bf75182cb7c5189ed985672378e315 Source1: http://dl.sourceforge.net/recordmydesktop/gtk-%{name}-%{version}.tar.gz -# Source1-md5: 5d160b4a907848c77f5649e04886547f -URL: http://recordmydesktop.sourceforge.net/ +# Source1-md5: 7895c05277d28f42cd5f36a8fdab0e1c +Source2: http://dl.sourceforge.net/recordmydesktop/qt-%{name}-%{version}.tar.gz +# Source2-md5: 51b8bd426f7d1a667c1356cc9879f89d +URL: http://recordmydesktop.iovar.org/ BuildRequires: alsa-lib-devel BuildRequires: autoconf BuildRequires: automake @@ -27,6 +30,9 @@ BuildRequires: python-devel BuildRequires: python-pygtk-devel %endif +%if %{with qt} +BuildRequires: python-PyQt4-devel +%endif BuildRequires: xorg-lib-libICE-devel BuildRequires: xorg-lib-libSM-devel BuildRequires: xorg-lib-libXdamage-devel @@ -59,6 +65,19 @@ %description gtk -l pl.UTF-8 Frontend do recordmydesktop oparty na GTK+. +%package qt +Summary: Qt frontend for recordmydesktop +Summary(pl.UTF-8): Frontend do recordmydesktop oparty na Qt +Group: X11/Applications +Requires: %{name} = %{version}-%{release} +Requires: %{name}-x11 = %{version}-%{release} + +%description qt +Qt frontend for recordmydesktop. + +%description qt -l pl.UTF-8 +Frontend do recordmydesktop oparty na Qt. + %package x11 Summary: X Window System resource for recordmydesktop Summary(pl.UTF-8): Zasoby X Window System do recordmydesktop @@ -72,7 +91,7 @@ Zasoby X Window System do recordmydesktop. %prep -%setup -q -a 1 +%setup -q -a 1 -a 2 %build %{__aclocal} @@ -86,6 +105,15 @@ cd gtk-%{name}-%{version} %configure %{__make} +cd .. +%endif + +%if %{with qt} +cd qt-%{name}-%{version} +sed -i -e '[EMAIL PROTECTED] /bin/[EMAIL PROTECTED]/bin/bash@' configure +%configure +%{__make} +cd .. %endif %install @@ -94,10 +122,21 @@ %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +%py_postclean %{py_sitescriptdir}/%{module} + %if %{with gtk} %{__make} -C gtk-%{name}-%{version} install \ DESTDIR=$RPM_BUILD_ROOT -%find_lang %{name}-gtk --all-name +%find_lang gtk-recordMyDesktop +%endif + +%if %{with qt} +%{__make} -C qt-%{name}-%{version} install \ + DESTDIR=$RPM_BUILD_ROOT +rm -rf __find.* +%find_lang qt-recordMyDesktop + +%py_postclean %{py_sitescriptdir}/qt_recordMyDesktop %endif %clean @@ -111,24 +150,38 @@ %if %{with x} %files x11 -%dir %{py_sitescriptdir}/%{module} -%{py_sitescriptdir}/%{module}/* +%defattr(644,root,root,755) +%{py_sitescriptdir}/%{module} %endif %if %{with gtk} -%files gtk -f %{name}-gtk.lang +%files gtk -f gtk-recordMyDesktop.lang %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/gtk-recordMyDesktop %{_desktopdir}/gtk-recordmydesktop.desktop %{_pixmapsdir}/gtk-recordmydesktop.png %endif +%if %{with qt} +%files qt -f qt-recordMyDesktop.lang +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/qt-recordMyDesktop +%{_desktopdir}/qt-recordmydesktop.desktop +%{_pixmapsdir}/qt-recordmydesktop*.png +%{py_sitescriptdir}/qt_recordMyDesktop +%endif + %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <[EMAIL PROTECTED]> All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.15 2007/10/17 21:09:04 wolf +- 0.3.6 +- qt frontend +- clean python dirs + Revision 1.14 2007/04/22 10:03:12 qboosh - formatting ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/recordmydesktop.spec?r1=1.14&r2=1.15&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
