]> git.pld-linux.org Git - packages/compton-conf.git/blob - compton-conf.spec
- new
[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.1.0
6 Release:        0.1
7 License:        GPLv2 and LGPL-2.1+
8 Group:          X11/Libraries
9 Source0:        http://lxqt.org/downloads/compton-conf/0.1.0/%{name}-%{version}.tar.xz
10 # Source0-md5:  d50ff2a705d7c5dd1074bb187630ab98
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 -c %{name}-%{version}
25
26 %build
27 install -d build
28 cd build
29 %cmake \
30         ../
31
32 %{__make}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 %{__make} -C build install \
38         DESTDIR=$RPM_BUILD_ROOT
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %attr(755,root,root) %{_bindir}/compton-conf
46 %{_desktopdir}/compton-conf.desktop
47 %dir %{_datadir}/compton-conf
48 %{_datadir}/compton-conf/compton.conf.example
This page took 0.073355 seconds and 4 git commands to generate.