]>
Commit | Line | Data |
---|---|---|
48182a08 RT |
1 | %define _rel 071103git |
2 | %define _name fusion-icon | |
3 | Summary: small program to control your GL Desktop | |
4 | Summary(pl.UTF-8): mały program do kontroli Pulpitu | |
5 | Name: compiz-%{_name} | |
6 | Version: 5.2 | |
7 | Release: 0.1%{_rel} | |
8 | Epoch: 1 | |
9 | License: GPL v2+ | |
10 | Group: X11/Window Managers/Tools | |
11 | #Source0: http://releases.beryl-project.org/%{version}/%{name}-%{version}.tar.bz2 | |
12 | Source0: %{_name}-%{_rel}.tar.bz2 | |
13 | # Source0-md5: 7cf51276a0fb33a357f921e3f320b86f | |
14 | URL: http://beryl-project.org/ | |
15 | BuildRequires: rpmbuild(macros) >= 1.311 | |
16 | Requires(post,postun): gtk+2 | |
17 | Requires(post,postun): hicolor-icon-theme | |
18 | Requires: compiz >= 0.5.1 | |
19 | BuildArch: noarch | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | Compiz Fusion Icon is a small program written in python which lets you | |
24 | control your GL Desktop it handles your different decorators | |
25 | (non-GL/GL) and configurators. | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | Compiz Fusion Icon jest małym programem napisanym w pythonie, który | |
29 | pozwala na kontrolę pulpitu GL. Pozwala na przełączanie się między | |
30 | różnymi dekoracjami i konfigurację. | |
31 | ||
32 | %prep | |
33 | %setup -q -n %{_name} | |
34 | ||
35 | %build | |
36 | %{__python} setup.py build | |
37 | %{__make} | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT | |
43 | ||
44 | %py_comp $RPM_BUILD_ROOT%{_datadir}/fusion-icon | |
45 | %py_ocomp $RPM_BUILD_ROOT%{_datadir}/fusion-icon | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %attr(755,root,root) %{_bindir}/fusion-icon | |
53 | %{_desktopdir}/fusion-icon.desktop | |
54 | %dir %{py_sitescriptdir}/FusionIcon | |
55 | %dir %{py_sitescriptdir}/FusionIcon/interface_gtk | |
56 | %dir %{py_sitescriptdir}/FusionIcon/interface_qt4 | |
57 | %{py_sitescriptdir}/FusionIcon/*.py* | |
58 | %{py_sitescriptdir}/FusionIcon/interface_gtk/*.py* | |
59 | %{py_sitescriptdir}/FusionIcon/interface_qt4/*.py* | |
60 | %{_iconsdir}/hicolor/*x*/apps/fusion-icon.png | |
61 | %{_iconsdir}/hicolor/scalable/apps/fusion-icon.svg |