[screengrab] Initial import (#919044).

Eugene A. Pivnev tieugene at fedoraproject.org
Fri Mar 8 21:36:16 UTC 2013


commit b7a1b9a8121e173636f3d1ed36c3c4635f0a2fd2
Author: TI_Eugene <ti.eugene at gmail.com>
Date:   Sat Mar 9 01:35:57 2013 +0400

    Initial import (#919044).

 .gitignore      |    1 +
 screengrab.spec |   83 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 85 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..aac464c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/screengrab-0.9.96.tar.gz
diff --git a/screengrab.spec b/screengrab.spec
new file mode 100644
index 0000000..b5306d7
--- /dev/null
+++ b/screengrab.spec
@@ -0,0 +1,83 @@
+# norootforbuild
+
+Name:		screengrab
+Version:	0.9.96
+Release:	2%{?dist}
+License:	GPLv2
+URL:		http://screengrab.doomer.org/
+Source0:	http://screengrab.doomer.org/download/screengrab-0_9_96_/#/%{name}-%{version}.tar.gz
+Summary:	Screen grabber
+BuildRequires:	cmake, pkgconfig(QtGui), libqxt-devel, desktop-file-utils
+
+%description
+This is a crossplatform application designed to quickly get screenshots ScreenGrab created using the Qt Framework.
+Main features:
+* Get desktop screenshots
+* Get active window screenshots
+* Get secreenshots of desktop selection area
+* Copy screenshot to clipboard
+* Saving your image files in formats PNG or JPEG or BMP
+* Ability to set delay in getting screenshots (from 1 to 90 seconds)
+* Hiding the main window (with recovery) ScreenGrab at the time of the screenshot
+* Ability to minimize application to system tray, and control via context menu
+* Getting screenshots using global shortcuts
+* Auto-save screenshot when received
+* Ability to insert the current date and time in filename and save
+
+%prep
+%setup -q
+# be assured
+%{__rm} -rf src/3rdparty
+
+%build
+mkdir build
+pushd build
+%cmake -DCMAKE_BUILD_TYPE=release -DSG_USE_SYSTEM_QXT=ON -DBUILD_SHARED_LIBS:BOOL=OFF ..
+make %{?_smp_mflags}
+popd
+
+%install
+pushd build
+make DESTDIR=%{buildroot} install
+popd
+desktop-file-validate %{buildroot}/%{_datadir}/applications/screengrab.desktop
+# hack
+rm -rf %{buildroot}/%{_datadir}/doc
+
+%files
+%doc docs/*
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/pixmaps/%{name}.png
+%{_datadir}/%{name}
+
+%changelog
+* Sat Mar 08 2013 TI_Eugene <ti.eugene at gmail.com> 0.9.96-2
+- src/3rdparty removed (built-in qxt)
+
+* Fri Mar 08 2013 TI_Eugene <ti.eugene at gmail.com> 0.9.96-1
+- next version - 0.9.96
+- spec fix: License set to GPLv2
+- spec fix: Group tag removed
+- spec fix: %%description copy/pasted from project home webpage
+- spec fix: %%install - 'rm buildroot' removed; 'rm' changed to %%{__rm}
+
+* Thu Mar 07 2013 TI_Eugene <ti.eugene at gmail.com> 0.9.1-3
+- spec fix: License tag changed to GPL+LGPL+BSD
+- spec fix: cmake call changed to %%cmake macro with BUILD_SHARED_LIBS=OFF
+- spec fix: Source0 tag changed to URL
+- spec fix: previous changelog record expanded
+
+* Thu Mar 07 2013 TI_Eugene <ti.eugene at gmail.com> 0.9.1-2
+- spec fix: gcc-c++ removed from BuildRequires
+- spec fix: description wraped
+- spec fix: %%clean section removed
+- spec fix: %%defattr removed
+- spec fix: desktop-file-validate added
+- spec fix: Vendor tag removed
+- spec fix: changelog cutted up to starting in Fedora
+- spec fix: Source tag changed to non-URL with comments
+- spec fix: License set to GPLv2
+
+* Thu Mar 07 2013 TI_Eugene <ti.eugene at gmail.com> 0.9.1-1
+- initial packaging for Fedora
diff --git a/sources b/sources
index e69de29..4a5fbc7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+977a905d4831ce18bbc1f15d97a56df0  screengrab-0.9.96.tar.gz


More information about the scm-commits mailing list