-
Notifications
You must be signed in to change notification settings - Fork 108
/
screencloud.spec
125 lines (100 loc) · 3.58 KB
/
screencloud.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
#
# spec file for package screencloud
#
Name: screencloud
License: GPL-2.0
Group: Productivity/Networking/Other
Summary: Easy to use screenshot sharing application
Version: 1.2.0
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.gz
Url: http://screencloud.net
BuildRequires: gcc-c++ cmake
AutoReq: no
%if 0%{?suse_version}
BuildRequires: update-desktop-files
BuildRequires: libqt4-devel libqxt-devel quazip-devel python-devel
Requires: libqt4 libqxt1 libquazip1 python
%else
BuildRequires: libqt4-devel libqxt-devel quazip-devel python-devel
Requires: qt libqxt quazip python
%endif
%description
Easy to use screenshot tool.
Take a screenshot using one of the 3 hotkeys or simply click the
ScreenCloud tray icon. You can choose where you want to save your screenshot.
If you choose to upload your screenshot to the screencloud website, a
link will automatically be copied to your clipboard. You can share
this link with your friends or colleagues via email or in an IM
conversation. All they have to do is click the link and look at your screenshot.
ScreenCloud also offers FTP and SFTP uploading if you want to use
your own server.
Authors:
--------
Olav S. Thoresen <olav.s.th@gmail.com>
%prep
%setup -q -n %{name}-%{version}/%{name}
%build
cmake
%{__make} %{?jobs:-j%jobs}
%install
%make_install
mkdir -p $RPM_BUILD_ROOT/usr/bin
ln -sf /opt/screencloud/screencloud.sh $RPM_BUILD_ROOT/usr/bin/screencloud
%clean
%files
%defattr(-,root,root,-)
%dir %{_datadir}/doc/%{name}
%{_datadir}/doc/%{name}/copyright
%{_datadir}/doc/%{name}/changelog.gz
%dir /usr/share/icons/hicolor
%dir /usr/share/icons/hicolor/128x128
%dir /usr/share/icons/hicolor/128x128/apps
%dir /usr/share/icons/hicolor/16x16
%dir /usr/share/icons/hicolor/16x16/apps
%dir /usr/share/icons/hicolor/32x32
%dir /usr/share/icons/hicolor/32x32/apps
%dir /usr/share/icons/hicolor/64x64
%dir /usr/share/icons/hicolor/64x64/apps
%dir /usr/share/icons/hicolor/scalable
%dir /usr/share/icons/hicolor/scalable/apps
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
%dir /opt/%{name}
/opt/%{name}/%{name}
/opt/%{name}/%{name}.sh
/opt/%{name}/libPythonQt.so
%dir /opt/%{name}/sfx
/opt/%{name}/sfx/notification.wav
/opt/%{name}/sfx/shutter.wav
%dir /opt/%{name}/modules
/opt/%{name}/modules/ScreenCloud.py
%dir /opt/%{name}/modules/Crypto
/opt/%{name}/modules/Crypto/empty
%exclude /opt/%{name}/modules/ScreenCloud.pyc
%exclude /opt/%{name}/modules/ScreenCloud.pyo
/usr/bin/screencloud
%changelog
* Sat Feb 14 2014 Olav Sortland Thoresen <olav.s.th@gmail.com> - 1.2.0
- Added screenshot editor
- Fixed audio output sometimes crashing the application
* Sun Mar 30 2014 Olav Sortland Thoresen <olav.s.th@gmail.com> - 1.1.6
- Fixed plugin list not loading (url has changed)
- Made more strings translatable
- Fixed running on startup not working on OS X
* Sun Mar 30 2014 Olav Sortland Thoresen <olav.s.th@gmail.com> - 1.1.5
- Fixed plugin update check
- Added changelog button to update notifications
* Sat Mar 22 2014 Olav Sortland Thoresen <olav.s.th@gmail.com> - 1.1.4
- Better multi monitor support
- Added check for plugin updates
- Better cli interface
* Sat Mar 1 2014 Olav Sortland Thoresen <olav.s.th@gmail.com> - 1.1.3
- New plugin format (python plugins)
- All URLs use https by default
- Removed various dependencies