]>
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 |
61743f93 | 10 | Patch0: %{name}-ac260-lt.patch |
ea24141f RT |
11 | Patch1: %{name}-include.patch |
12 | Patch2: kde-ac260-lt.patch | |
bf3e1d5d | 13 | URL: http://www.beryl-project.org/ |
61743f93 JB |
14 | BuildRequires: autoconf >= 2.50 |
15 | BuildRequires: automake >= 1.5 | |
a882f208 | 16 | BuildRequires: beryl-core-devel >= 1:%{version} |
61743f93 | 17 | BuildRequires: gtk+2-devel >= 2:2.8.0 |
67b517cd RT |
18 | BuildRequires: kdebase-devel >= 9:3.5.0 |
19 | BuildRequires: kdelibs-devel >= 9:3.5.0 | |
ea24141f | 20 | BuildRequires: libart_lgpl-devel |
607014ec | 21 | BuildRequires: pkgconfig |
67b517cd | 22 | BuildRequires: rpmbuild(macros) >= 1.129 |
6396637d | 23 | BuildRequires: startup-notification-devel |
629e5042 | 24 | BuildRequires: xorg-lib-libXcomposite-devel |
ea24141f RT |
25 | BuildRequires: xorg-lib-libXmu-devel |
26 | BuildRequires: xorg-lib-libXft-devel | |
a882f208 | 27 | Requires: beryl-core >= 1:%{version} |
0439ad44 | 28 | Obsoletes: compiz-quinnstorm-kde-decorator |
67b517cd RT |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
30 | ||
31 | %description | |
32 | Aquamarine is themeable window decorator and compositing manager for | |
61743f93 | 33 | beryl. Aquamarine is intended for use with KDE. |
67b517cd | 34 | |
7d90434a JR |
35 | %description -l pl.UTF-8 |
36 | Aquamarine jest dekoratorem okien dla beryla używającym motywów. Jest | |
37 | przeznaczony do używania wraz z KDE. | |
67b517cd RT |
38 | |
39 | %prep | |
61743f93 | 40 | %setup -q |
f781c015 | 41 | %patch0 -p1 |
ea24141f RT |
42 | %patch1 -p0 |
43 | %patch2 -p1 | |
d7011c9f | 44 | |
d7011c9f RT |
45 | mv -f po/{es_ES,es}.po |
46 | mv -f po/{hu_HU,hu}.po | |
48010aa6 | 47 | mv -f po/{pl_PL,pl}.po |
48010aa6 | 48 | mv -f po/{sv_SE,sv}.po |
d7011c9f | 49 | mv -f po/{uk_UA,uk}.po |
94d1106f | 50 | rm -f po/it_IT.po # it.po is newer then it_IT.po |
33cd2896 | 51 | rm -f po/ru_RU.po # ru.po is newer |
52 | rm -f po/ru_UA.po # same as ru_RU.po | |
d7011c9f RT |
53 | |
54 | # NOTE: check the list after any upgrade! | |
55 | cat > po/LINGUAS <<EOF | |
56 | ca | |
3792f239 | 57 | de |
d7011c9f RT |
58 | es |
59 | es_AR | |
d7011c9f RT |
60 | hu |
61 | it | |
3792f239 | 62 | ja |
d7011c9f | 63 | ko |
3792f239 | 64 | nl |
48010aa6 | 65 | pl |
d7011c9f RT |
66 | pt |
67 | ru | |
48010aa6 | 68 | sv |
d7011c9f RT |
69 | uk |
70 | zh_CN | |
71 | zh_HK | |
72 | zh_TW | |
73 | EOF | |
67b517cd RT |
74 | |
75 | %build | |
61743f93 | 76 | # can't libtoolize with KDE mess |
d7011c9f | 77 | #%{__aclocal} |
ea24141f RT |
78 | %{__autoconf} |
79 | %{__autoheader} | |
d7011c9f | 80 | #%{__automake} |
21f02bf7 | 81 | %configure \ |
82 | %if "%{_lib}" == "lib64" | |
83 | --enable-libsuffix=64 \ | |
84 | %endif | |
85 | --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \ | |
86 | --with-qt-libraries=%{_libdir} | |
67b517cd RT |
87 | %{__make} |
88 | ||
89 | %install | |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | ||
92 | %{__make} install \ | |
93 | DESTDIR=$RPM_BUILD_ROOT | |
94 | ||
d7011c9f | 95 | %find_lang %{name} |
67b517cd RT |
96 | %clean |
97 | rm -rf $RPM_BUILD_ROOT | |
98 | ||
d7011c9f | 99 | %files -f %{name}.lang |
67b517cd | 100 | %defattr(644,root,root,755) |
d7011c9f | 101 | %doc AUTHORS |
67b517cd | 102 | %attr(755,root,root) %{_bindir}/aquamarine |
821db7a2 RT |
103 | %{_libdir}/beryl/backends/libkconfig.la |
104 | %attr(755,root,root) %{_libdir}/beryl/backends/libkconfig.so | |
105 | %{_libdir}/kde3/kcm_beryl.la | |
106 | %attr(755,root,root) %{_libdir}/kde3/kcm_beryl.so | |
d7011c9f RT |
107 | %{_desktopdir}/kde/beryl.desktop |
108 | %{_datadir}/config.kcfg/aquamarine.kcfg |