]>
Commit | Line | Data |
---|---|---|
61743f93 | 1 | Summary: Themeable window decorator and compositing manager for beryl |
a0355ea1 | 2 | Summary(pl.UTF-8): Dekorator okien dla beryla używający motywów |
67b517cd | 3 | Name: aquamarine |
a882f208 RT |
4 | Version: 0.2.1 |
5 | Release: 1 | |
be2adaba | 6 | License: GPL v2+ |
67b517cd | 7 | Group: Themes |
61743f93 | 8 | Source0: http://releases.beryl-project.org/%{version}/%{name}-%{version}.tar.bz2 |
a882f208 | 9 | # Source0-md5: 186826182dc2cefb3aaa09b7af938bec |
3dc16f20 | 10 | Patch0: %{name}-include.patch |
11 | Patch1: kde-ac260-lt.patch | |
bf3e1d5d | 12 | URL: http://www.beryl-project.org/ |
61743f93 | 13 | BuildRequires: autoconf >= 2.50 |
a882f208 | 14 | BuildRequires: beryl-core-devel >= 1:%{version} |
61743f93 | 15 | BuildRequires: gtk+2-devel >= 2:2.8.0 |
67b517cd RT |
16 | BuildRequires: kdebase-devel >= 9:3.5.0 |
17 | BuildRequires: kdelibs-devel >= 9:3.5.0 | |
ea24141f | 18 | BuildRequires: libart_lgpl-devel |
607014ec | 19 | BuildRequires: pkgconfig |
67b517cd | 20 | BuildRequires: rpmbuild(macros) >= 1.129 |
6396637d | 21 | BuildRequires: startup-notification-devel |
629e5042 | 22 | BuildRequires: xorg-lib-libXcomposite-devel |
ea24141f RT |
23 | BuildRequires: xorg-lib-libXmu-devel |
24 | BuildRequires: xorg-lib-libXft-devel | |
a882f208 | 25 | Requires: beryl-core >= 1:%{version} |
0439ad44 | 26 | Obsoletes: compiz-quinnstorm-kde-decorator |
67b517cd RT |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
30 | Aquamarine is themeable window decorator and compositing manager for | |
61743f93 | 31 | beryl. Aquamarine is intended for use with KDE. |
67b517cd | 32 | |
7d90434a JR |
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. | |
67b517cd RT |
36 | |
37 | %prep | |
61743f93 | 38 | %setup -q |
3dc16f20 | 39 | %patch0 -p0 |
40 | %patch1 -p1 | |
d7011c9f | 41 | |
d7011c9f RT |
42 | mv -f po/{es_ES,es}.po |
43 | mv -f po/{hu_HU,hu}.po | |
48010aa6 | 44 | mv -f po/{pl_PL,pl}.po |
48010aa6 | 45 | mv -f po/{sv_SE,sv}.po |
d7011c9f | 46 | mv -f po/{uk_UA,uk}.po |
94d1106f | 47 | rm -f po/it_IT.po # it.po is newer then it_IT.po |
33cd2896 | 48 | rm -f po/ru_RU.po # ru.po is newer |
49 | rm -f po/ru_UA.po # same as ru_RU.po | |
d7011c9f RT |
50 | |
51 | # NOTE: check the list after any upgrade! | |
52 | cat > po/LINGUAS <<EOF | |
53 | ca | |
3792f239 | 54 | de |
d7011c9f RT |
55 | es |
56 | es_AR | |
d7011c9f RT |
57 | hu |
58 | it | |
3792f239 | 59 | ja |
d7011c9f | 60 | ko |
3792f239 | 61 | nl |
48010aa6 | 62 | pl |
d7011c9f RT |
63 | pt |
64 | ru | |
48010aa6 | 65 | sv |
d7011c9f RT |
66 | uk |
67 | zh_CN | |
68 | zh_HK | |
69 | zh_TW | |
70 | EOF | |
67b517cd RT |
71 | |
72 | %build | |
ea24141f RT |
73 | %{__autoconf} |
74 | %{__autoheader} | |
21f02bf7 | 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} | |
67b517cd RT |
81 | %{__make} |
82 | ||
83 | %install | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %{__make} install \ | |
87 | DESTDIR=$RPM_BUILD_ROOT | |
88 | ||
d7011c9f | 89 | %find_lang %{name} |
67b517cd RT |
90 | %clean |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
d7011c9f | 93 | %files -f %{name}.lang |
67b517cd | 94 | %defattr(644,root,root,755) |
d7011c9f | 95 | %doc AUTHORS |
67b517cd | 96 | %attr(755,root,root) %{_bindir}/aquamarine |
821db7a2 RT |
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 | |
d7011c9f RT |
101 | %{_desktopdir}/kde/beryl.desktop |
102 | %{_datadir}/config.kcfg/aquamarine.kcfg |