]> git.pld-linux.org Git - packages/ka5-spectacle.git/blame - ka5-spectacle.spec
- updated to 18.04.0
[packages/ka5-spectacle.git] / ka5-spectacle.spec
CommitLineData
84807813 1%define kdeappsver 18.04.0
c356ff18
WF
2%define qtver 5.3.2
3%define kaname spectacle
4
5Summary: Spectacle
6Summary(pl.UTF-8): Spectacle
7Name: ka5-%{kaname}
84807813 8Version: 18.04.0
c356ff18
WF
9Release: 1
10License: GPL
11Group: X11/Applications/Editors
12Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
84807813 13# Source0-md5: 4f52cf24f4d8a72b4b56b9946886625f
c356ff18
WF
14URL: http://www.kde.org/
15BuildRequires: shared-mime-info
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Spectacle is a simple application for taking screenshots. It is
20capable of capturing images of either the whole desktop or just a
21single window. The images can then be saved in a variety of formats.
22
23%description -l pl.UTF-8
24Spectacle to prosta aplikacja do robienia zrzutów ekranu. Potrafi
25przechwytywać obraz całego pulpitu lub tylko pojedynczego okna. Obrazy
26mogą być następnie zapisane w wielu formatach.
27
28%prep
29%setup -q -n %{kaname}-%{version}
30
31%build
32install -d build
33cd build
34%cmake \
35 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
36 ..
37%{__make}
38
39%install
40rm -rf $RPM_BUILD_ROOT
41%{__make} -C build install \
42 DESTDIR=$RPM_BUILD_ROOT
43
44%find_lang %{kaname} --all-name --with-kde
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%post -p /sbin/ldconfig
50%postun -p /sbin/ldconfig
51
52%files -f %{kaname}.lang
53%defattr(644,root,root,755)
54%attr(755,root,root) %{_bindir}/spectacle
55%{_desktopdir}/org.kde.spectacle.desktop
56%{_datadir}/dbus-1/interfaces/org.kde.Spectacle.xml
57%{_datadir}/dbus-1/services/org.kde.Spectacle.service
58%{_iconsdir}/hicolor/16x16/apps/spectacle.png
59%{_iconsdir}/hicolor/22x22/apps/spectacle.png
60%{_iconsdir}/hicolor/32x32/apps/spectacle.png
61%{_iconsdir}/hicolor/48x48/apps/spectacle.png
62%{_iconsdir}/hicolor/scalable/apps/spectacle.svgz
63%{_datadir}/khotkeys/spectacle.khotkeys
64%{_datadir}/knotifications5/spectacle.notifyrc
65%{_datadir}/metainfo/org.kde.spectacle.appdata.xml
This page took 0.109673 seconds and 4 git commands to generate.