1 |
matteo |
191611 |
#define git 33b232a |
2 |
matteo |
192068 |
%define git 816c8f1 |
3 |
matteo |
189320 |
|
4 |
|
|
Name: antico |
5 |
|
|
Version: 0.2 |
6 |
matteo |
192068 |
Release: %mkrel -c git 3 |
7 |
matteo |
189320 |
Summary: Antico Desktop/Window Manager |
8 |
|
|
License: GPLv2 |
9 |
matteo |
192068 |
Url: https://github.com/pasmatt/%{name} |
10 |
matteo |
191611 |
Source: pasmatt-%{name}-%{git}.zip |
11 |
matteo |
192120 |
Source1: 14%{name} |
12 |
matteo |
191611 |
Patch0: %{name}-mageia_icon.patch |
13 |
matteo |
189320 |
Group: Graphical desktop/Other |
14 |
|
|
|
15 |
|
|
BuildRequires: qt4-devel |
16 |
|
|
|
17 |
matteo |
192068 |
Requires: desktop-common-data |
18 |
|
|
Requires: mageia-theme-Default |
19 |
matteo |
189320 |
|
20 |
|
|
%description |
21 |
|
|
Antico is a Qt4/X11 Desktop/Window Manager. |
22 |
|
|
The goal is to create a Window/Desktop manager simple and fast. |
23 |
|
|
All parameters must be configured from few files, |
24 |
|
|
avoiding unnecessary complications, following the K.I.S.S. philosophy. |
25 |
|
|
The whole project is be based only on Qt4 libraries, |
26 |
|
|
without any other external dependencies. |
27 |
|
|
|
28 |
|
|
%prep |
29 |
matteo |
191611 |
%setup -q -n pasmatt-%{name}-%{git} |
30 |
|
|
%apply_patches |
31 |
matteo |
189320 |
|
32 |
|
|
%build |
33 |
|
|
%{qmake_qt4} |
34 |
matteo |
191611 |
%make |
35 |
matteo |
189320 |
|
36 |
|
|
%install |
37 |
matteo |
192068 |
rm -fr %{buildroot} |
38 |
matteo |
189320 |
|
39 |
matteo |
192068 |
install -D -d -m 755 %{buildroot}%{_bindir} |
40 |
|
|
install -D -m 755 %{name} %{buildroot}%{_bindir}/%{name} |
41 |
|
|
install -D -d -m 755 %{buildroot}%{_datadir}/%{name} |
42 |
|
|
cp -R theme %{buildroot}%{_datadir}/%{name}/ |
43 |
matteo |
189320 |
|
44 |
matteo |
192120 |
install -D -d -m 755 %{buildroot}%{_sysconfdir}/X11/wmsession.d |
45 |
|
|
install -D -m 755 %SOURCE1 %{buildroot}%{_sysconfdir}/X11/wmsession.d/ |
46 |
matteo |
192068 |
install -D -d -m 755 %{buildroot}%{_datadir}/%{name} |
47 |
|
|
cp -R language %{buildroot}%{_datadir}/%{name}/ |
48 |
matteo |
189320 |
|
49 |
matteo |
192068 |
chmod -R 755 %{buildroot}%{_datadir}/%{name}/theme |
50 |
|
|
chmod -R 755 %{buildroot}%{_datadir}/%{name}/language |
51 |
matteo |
189320 |
|
52 |
|
|
%clean |
53 |
matteo |
192068 |
rm -fr %{buildroot} |
54 |
matteo |
189320 |
|
55 |
|
|
%files |
56 |
|
|
%defattr(-,root,root,-) |
57 |
matteo |
189420 |
%doc CHANGELOG COPYING README |
58 |
matteo |
189320 |
%{_bindir}/antico |
59 |
|
|
%{_sysconfdir}/X11/wmsession.d |
60 |
|
|
%{_datadir}/%{name} |