]>
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/ | |
3bdd10f8 | 15 | BuildRequires: python-devel |
48182a08 RT |
16 | BuildRequires: rpmbuild(macros) >= 1.311 |
17 | Requires(post,postun): gtk+2 | |
18 | Requires(post,postun): hicolor-icon-theme | |
19 | Requires: compiz >= 0.5.1 | |
20 | BuildArch: noarch | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | Compiz Fusion Icon is a small program written in python which lets you | |
25 | control your GL Desktop it handles your different decorators | |
26 | (non-GL/GL) and configurators. | |
27 | ||
28 | %description -l pl.UTF-8 | |
29 | Compiz Fusion Icon jest małym programem napisanym w pythonie, który | |
30 | pozwala na kontrolę pulpitu GL. Pozwala na przełączanie się między | |
31 | różnymi dekoracjami i konfigurację. | |
32 | ||
33 | %prep | |
34 | %setup -q -n %{_name} | |
35 | ||
36 | %build | |
37 | %{__python} setup.py build | |
38 | %{__make} | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT | |
44 | ||
45 | %py_comp $RPM_BUILD_ROOT%{_datadir}/fusion-icon | |
46 | %py_ocomp $RPM_BUILD_ROOT%{_datadir}/fusion-icon | |
47 | ||
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
53 | %attr(755,root,root) %{_bindir}/fusion-icon | |
54 | %{_desktopdir}/fusion-icon.desktop | |
55 | %dir %{py_sitescriptdir}/FusionIcon | |
56 | %dir %{py_sitescriptdir}/FusionIcon/interface_gtk | |
57 | %dir %{py_sitescriptdir}/FusionIcon/interface_qt4 | |
58 | %{py_sitescriptdir}/FusionIcon/*.py* | |
59 | %{py_sitescriptdir}/FusionIcon/interface_gtk/*.py* | |
60 | %{py_sitescriptdir}/FusionIcon/interface_qt4/*.py* | |
61 | %{_iconsdir}/hicolor/*x*/apps/fusion-icon.png | |
62 | %{_iconsdir}/hicolor/scalable/apps/fusion-icon.svg |