]> git.pld-linux.org Git - packages/phonon-backend-vlc.git/blob - phonon-backend-vlc.spec
- init
[packages/phonon-backend-vlc.git] / phonon-backend-vlc.spec
1 %define         qtver           4.6.3
2 %define         kdever          4.4.5
3 %define         vlcver          1.1.0
4
5 Summary:        VLC backend for Phonon
6 Summary(pl.UTF-8):      Wtyczka VLC dla Phonona
7 Name:           phonon-backend-vlc
8 Version:        0.2.0
9 Release:        1
10 License:        LGPL 2.1
11 Group:          X11/Applications
12 #Source0:       ftp://ftp.kde.org/pub/kde/stable/%{name}/%{version}/src/%{name}-%{version}.tar.gz
13 Source0:        ftp://ftp.kde.org/pub/kde/stable/%{name}/%{version}/%{name}-%{version}.tar.gz
14 # Source0-md5:  33a1ca367989e306507ea633c99b8df5
15 #URL:           http://
16 BuildRequires:  automoc4 >= 0.9.88
17 BuildRequires:  cmake >= 2.8.0
18 BuildRequires:  kde4-kdebase-workspace-devel >= %{kdever}
19 BuildRequires:  kde4-kdelibs-devel >= %{kdever}
20 BuildRequires:  phonon-devel
21 BuildRequires:  qt4-build >= %{qtver}
22 BuildRequires:  qt4-qmake >= %{qtver}
23 BuildRequires:  vlc-devel >= %{vlcver}
24 BuildRequires:  rpmbuild(macros) >= 1.293
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 VLC backend for Phonon.
29
30 %description -l pl.UTF-8
31 Wtyczka VLC dla Phonona.
32
33 %prep
34 %setup -q
35
36 %build
37 install -d build
38 cd build
39 %cmake .. \
40         -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
41         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
42 %if "%{_lib}" == "lib64"
43         -DLIB_SUFFIX=64
44 %endif
45
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} -C build install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %attr(755,root,root) %{_libdir}/kde4/plugins/phonon_backend/phonon_vlc.so
60 %{_datadir}/kde4/services/phononbackends/vlc.desktop
This page took 0.056009 seconds and 4 git commands to generate.