]> git.pld-linux.org Git - packages/compton-conf.git/blob - compton-conf.spec
- updated to 0.2.0
[packages/compton-conf.git] / compton-conf.spec
1 %define         qtver           4.8.5
2
3 Summary:        compton-conf
4 Name:           compton-conf
5 Version:        0.2.0
6 Release:        1
7 License:        GPLv2 and LGPL-2.1+
8 Group:          X11/Libraries
9 Source0:        http://downloads.lxqt.org/compton-conf/%{version}/%{name}-%{version}.tar.xz
10 # Source0-md5:  b40265ae0b2a4d40b203046c57a0c08e
11 URL:            http://www.lxqt.org/
12 BuildRequires:  QtCore-devel >= %{qtver}
13 BuildRequires:  QtGui-devel >= %{qtver}
14 BuildRequires:  QtXml-devel >= %{qtver}
15 BuildRequires:  cmake >= 2.8.3
16 BuildRequires:  libconfig-devel
17 BuildRequires:  xz-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 compton-conf
22
23 %prep
24 %setup -q
25
26 %build
27 install -d build
28 cd build
29 %cmake \
30         -DPULL_TRANSLATIONS:BOOL=OFF \
31         ../
32
33 %{__make}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 %{__make} -C build install \
39         DESTDIR=$RPM_BUILD_ROOT
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %attr(755,root,root) %{_bindir}/compton-conf
47 %{_desktopdir}/compton-conf.desktop
48 %dir %{_datadir}/compton-conf
49 %{_datadir}/compton-conf/compton.conf.example
This page took 0.053023 seconds and 3 git commands to generate.