]>
Commit | Line | Data |
---|---|---|
1 | Summary: Themeable window decorator and compositing manager for beryl | |
2 | Summary(pl.UTF-8): Dekorator okien dla beryla używający motywów | |
3 | Name: aquamarine | |
4 | Version: 0.2.1 | |
5 | Release: 1 | |
6 | License: GPL v2+ | |
7 | Group: Themes | |
8 | Source0: http://releases.beryl-project.org/%{version}/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 186826182dc2cefb3aaa09b7af938bec | |
10 | Patch0: %{name}-include.patch | |
11 | Patch1: kde-ac260-lt.patch | |
12 | URL: http://www.beryl-project.org/ | |
13 | BuildRequires: autoconf >= 2.50 | |
14 | BuildRequires: beryl-core-devel >= 1:%{version} | |
15 | BuildRequires: gtk+2-devel >= 2:2.8.0 | |
16 | BuildRequires: kdebase-devel >= 9:3.5.0 | |
17 | BuildRequires: kdelibs-devel >= 9:3.5.0 | |
18 | BuildRequires: libart_lgpl-devel | |
19 | BuildRequires: pkgconfig | |
20 | BuildRequires: rpmbuild(macros) >= 1.129 | |
21 | BuildRequires: startup-notification-devel | |
22 | BuildRequires: xorg-lib-libXcomposite-devel | |
23 | BuildRequires: xorg-lib-libXmu-devel | |
24 | BuildRequires: xorg-lib-libXft-devel | |
25 | Requires: beryl-core >= 1:%{version} | |
26 | Obsoletes: compiz-quinnstorm-kde-decorator | |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
28 | ||
29 | %description | |
30 | Aquamarine is themeable window decorator and compositing manager for | |
31 | beryl. Aquamarine is intended for use with KDE. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | Aquamarine jest dekoratorem okien dla beryla używającym motywów. Jest | |
35 | przeznaczony do używania wraz z KDE. | |
36 | ||
37 | %prep | |
38 | %setup -q | |
39 | %patch0 -p0 | |
40 | %patch1 -p1 | |
41 | ||
42 | mv -f po/{es_ES,es}.po | |
43 | mv -f po/{hu_HU,hu}.po | |
44 | mv -f po/{pl_PL,pl}.po | |
45 | mv -f po/{sv_SE,sv}.po | |
46 | mv -f po/{uk_UA,uk}.po | |
47 | rm -f po/it_IT.po # it.po is newer then it_IT.po | |
48 | rm -f po/ru_RU.po # ru.po is newer | |
49 | rm -f po/ru_UA.po # same as ru_RU.po | |
50 | ||
51 | # NOTE: check the list after any upgrade! | |
52 | cat > po/LINGUAS <<EOF | |
53 | ca | |
54 | de | |
55 | es | |
56 | es_AR | |
57 | hu | |
58 | it | |
59 | ja | |
60 | ko | |
61 | nl | |
62 | pl | |
63 | pt | |
64 | ru | |
65 | sv | |
66 | uk | |
67 | zh_CN | |
68 | zh_HK | |
69 | zh_TW | |
70 | EOF | |
71 | ||
72 | %build | |
73 | %{__autoconf} | |
74 | %{__autoheader} | |
75 | %configure \ | |
76 | %if "%{_lib}" == "lib64" | |
77 | --enable-libsuffix=64 \ | |
78 | %endif | |
79 | --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \ | |
80 | --with-qt-libraries=%{_libdir} | |
81 | %{__make} | |
82 | ||
83 | %install | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %{__make} install \ | |
87 | DESTDIR=$RPM_BUILD_ROOT | |
88 | ||
89 | %find_lang %{name} | |
90 | %clean | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
93 | %files -f %{name}.lang | |
94 | %defattr(644,root,root,755) | |
95 | %doc AUTHORS | |
96 | %attr(755,root,root) %{_bindir}/aquamarine | |
97 | %{_libdir}/beryl/backends/libkconfig.la | |
98 | %attr(755,root,root) %{_libdir}/beryl/backends/libkconfig.so | |
99 | %{_libdir}/kde3/kcm_beryl.la | |
100 | %attr(755,root,root) %{_libdir}/kde3/kcm_beryl.so | |
101 | %{_desktopdir}/kde/beryl.desktop | |
102 | %{_datadir}/config.kcfg/aquamarine.kcfg |