Author: arekm Date: Wed Jul 27 14:57:45 2011 GMT Module: packages Tag: HEAD ---- Log message: - initial; kde 4.7.0
---- Files affected: packages/ksnapshot: ksnapshot.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/ksnapshot/ksnapshot.spec diff -u /dev/null packages/ksnapshot/ksnapshot.spec:1.1 --- /dev/null Wed Jul 27 16:57:45 2011 +++ packages/ksnapshot/ksnapshot.spec Wed Jul 27 16:57:40 2011 @@ -0,0 +1,72 @@ +# $Revision$, $Date$ +%define _state stable +%define orgname ksnapshot +%define qtver 4.7.3 + +Summary: K Desktop Environment - Snap Shot +Summary(pl.UTF-8): K Desktop Environment - Program do przechwytywania ekranu +Name: ksnapshot +Version: 4.7.0 +Release: 1 +License: GPL +Group: X11/Applications/Graphics +Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.bz2 +# Source0-md5: fb58cb99c18a04de36ff2be9a50ca55a +URL: http://www.kde.org/ +BuildRequires: kde4-kdelibs-devel +BuildRequires: libjpeg-devel +Obsoletes: kde4-kdegraphics-ksnapshot +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +KSnapshot is a simple application for taking screenshots. It is +capable of capturing images of either the whole desktop or just a +single window. The images can then be saved in a variety of formats. + +%description -l pl.UTF-8 +KSnapshot to prosta aplikacja do robienia zrzutów ekranu. Potrafi +przechwytywać obraz całego pulpitu lub tylko pojedynczego okna. Obrazy +mogą być następnie zapisane w wielu formatach. + +%prep +%setup -q -n %{orgname}-%{version} + +%build +install -d build +cd build +%cmake \ + .. +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} -C build/ install \ + DESTDIR=$RPM_BUILD_ROOT \ + kde_htmldir=%{_kdedocdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/ksnapshot +%attr(755,root,root) %{_bindir}/kbackgroundsnapshot +%{_desktopdir}/kde4/ksnapshot.desktop +%{_iconsdir}/*/*/apps/ksnapshot.* +%{_datadir}/dbus-1/interfaces/org.kde.ksnapshot.xml +%{_kdedocdir}/en/ksnapshot + +%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.1 2011/07/27 14:57:40 arekm +- initial; kde 4.7.0 + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
