]> git.pld-linux.org Git - packages/lxqt-common.git/blob - lxqt-common.spec
- new
[packages/lxqt-common.git] / lxqt-common.spec
1 #
2 # Conditional build:
3 #
4 %define         qtver           4.8.5
5
6 Summary:        lxqt-common
7 Name:           lxqt-common
8 Version:        0.7.0
9 Release:        0.1
10 License:        GPLv2 and LGPL-2.1+
11 Group:          X11/Applications
12 Source0:        http://lxqt.org/downloads/lxqt/0.7.0/%{name}-%{version}.tar.xz
13 # Source0-md5:  f1a64db07d04f686b584cc8952479910
14 URL:            http://www.lxqt.org/
15 BuildRequires:  cmake >= 2.8.3
16 BuildRequires:  xz-devel
17 Requires:       liblxqt >= 0.7.0
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 lxqt-common.
23
24 %prep
25 %setup -q -c %{name}-%{version}
26
27 %build
28 install -d build
29 cd build
30 %cmake \
31         ../
32
33 %{__make}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_sysconfdir}/X11/sessions
38
39 %{__make} -C build install \
40         DESTDIR=$RPM_BUILD_ROOT
41
42 cp -a $RPM_BUILD_ROOT/usr/share/xsessions/*.desktop $RPM_BUILD_ROOT%{_sysconfdir}/X11/sessions/
43 rm -rf $RPM_BUILD_ROOT/usr/share/xsessions
44 rm -rf $RPM_BUILD_ROOT/usr/share/apps/kdm
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %attr(755,root,root) %{_bindir}/startlxqt
52 %{_datadir}/lxqt/graphics
53 %dir %{_sysconfdir}/qt4/lxqt
54 %{_sysconfdir}/qt4/lxqt/*.conf
55 %{_datadir}/lxqt/openbox
56 %dir %{_sysconfdir}/qt4/pcmanfm-qt
57 %dir %{_sysconfdir}/qt4/pcmanfm-qt/lxqt
58 %{_sysconfdir}/qt4/pcmanfm-qt/lxqt/*.conf
59 %{_sysconfdir}/xdg/autostart/lxqt*.desktop
60 %{_sysconfdir}/X11/sessions/lxqt.desktop
61 %dir %{_datadir}/lxqt/themes
62 %{_datadir}/lxqt/themes/ambiance
63 %{_datadir}/lxqt/themes/a-mego
64 %{_datadir}/lxqt/themes/light
65 %{_datadir}/lxqt/themes/flat
66 %{_datadir}/lxqt/themes/green
This page took 0.057709 seconds and 3 git commands to generate.