]> git.pld-linux.org Git - packages/kde4-kio-mtp.git/blob - kde4-kio-mtp.spec
Release 1. Works for me.
[packages/kde4-kio-mtp.git] / kde4-kio-mtp.spec
1 #
2 # Conditional build:
3 #
4 %define         orgname         kio-mtp
5 %define         qtver           4.7.1
6 %define         kdever          4.9.0
7 %define         srcdate         20130121
8 Summary:        Media Transfer Protocol (MTP) kioslave
9 Summary(pl.UTF-8):      Media Transfer Protocol (MTP) kioslave
10 Name:           kde4-kio-mtp
11 Version:        0.0.%{srcdate}
12 Release:        1
13 License:        GPL v3
14 Group:          X11/Applications
15 Source0:        http://beauty.ant.gliwice.pl/PLD/kio-mtp-%{srcdate}.tgz
16 # Source0-md5:  630c2ae98cd37963287ec73ee6e96ad5
17 URL:            http://www.afiestas.org/workspaces-gain-mtp-support/
18 BuildRequires:  automoc4 >= 0.9.88
19 BuildRequires:  cmake >= 2.8.0
20 BuildRequires:  kde4-kdelibs-devel >= %{kdever}
21 BuildRequires:  qt4-build >= %{qtver}
22 BuildRequires:  qt4-qmake >= %{qtver}
23 BuildRequires:  rpmbuild(macros) >= 1.605
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Kioslave which allows to manage files in any MTP capable device, like
28 Android ones from KDE.
29
30 %description -l pl.UTF-8
31 Kioslave pozwalający zarządzać plikami w urządzeniach obsługujących
32 MTP, takich jak np Android z poziomu KDE.
33
34 %prep
35 %setup -q -n %{orgname}
36
37 %build
38 install -d build
39 cd build
40 %cmake \
41         ../
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 %{__make} -C build install/fast \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %attr(755,root,root) %{_libdir}/kde4/kio_mtp.so
55 %{_datadir}/apps/konqueror/dirtree/remote/mtp-network.desktop
56 %{_datadir}/apps/remoteview/mtp-network.desktop
57 %{_datadir}/apps/solid/actions/solid_mtp.desktop
58 %{_datadir}/kde4/services/mtp.protocol
This page took 0.071406 seconds and 3 git commands to generate.