]>
Commit | Line | Data |
---|---|---|
fa63487c | 1 | Summary: An application to run and [manage|control] beryl |
a702c0b3 | 2 | Summary(pl.UTF-8): Aplikacja do uruchamiania i zarządzania berylem |
fa63487c | 3 | Name: beryl-manager |
0af70403 | 4 | Version: 0.2.1 |
48b09d1f | 5 | Release: 2 |
47f867ed | 6 | Epoch: 1 |
de284a58 | 7 | License: LGPL v2+ |
fa63487c | 8 | Group: X11/Window Managers/Tools |
ba815fd1 | 9 | Source0: http://releases.beryl-project.org/%{version}/%{name}-%{version}.tar.bz2 |
0af70403 | 10 | # Source0-md5: cd2b81f5af7a6438d495334d797eb088 |
ff37bed5 | 11 | Patch0: %{name}-desktop.patch |
dae295b1 | 12 | URL: http://beryl-project.org/ |
942edd95 | 13 | BuildRequires: autoconf >= 2.57 |
dae295b1 | 14 | BuildRequires: automake >= 1:1.9 |
942edd95 JB |
15 | BuildRequires: gtk+2-devel >= 2:2.8.0 |
16 | BuildRequires: intltool >= 0.35.0 | |
17 | BuildRequires: pkgconfig | |
ff37bed5 | 18 | BuildRequires: rpmbuild(macros) >= 1.311 |
48b09d1f | 19 | Requires(post,postun): gtk-update-icon-cache |
ff37bed5 | 20 | Requires(post,postun): hicolor-icon-theme |
26425455 | 21 | Requires: beryl-core >= 1:%{version} |
dae295b1 | 22 | Obsoletes: compiz-manager |
fa63487c RT |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
942edd95 JB |
26 | An application to run and [manage|control] beryl. |
27 | ||
42b2decc JR |
28 | %description -l pl.UTF-8 |
29 | Aplikacja do uruchamiania i zarządzania berylem. | |
fa63487c RT |
30 | |
31 | %prep | |
ba815fd1 | 32 | %setup -q |
ff37bed5 | 33 | %patch0 -p1 |
942edd95 JB |
34 | mv -f po/{ar_AR,ar}.po |
35 | mv -f po/{de_DE,de}.po | |
36 | mv -f po/{es_ES,es}.po | |
dae295b1 | 37 | mv -f po/{gl_ES,gl}.po |
ba815fd1 | 38 | mv -f po/{hu_HU,hu}.po |
942edd95 | 39 | mv -f po/{it_IT,it}.po |
942edd95 | 40 | mv -f po/{my_MY,my}.po |
9c2b197e | 41 | mv -f po/{nb_NO,nb}.po |
942edd95 JB |
42 | mv -f po/{pt_PT,pt}.po |
43 | mv -f po/{ru_RU,ru}.po | |
44 | mv -f po/{sk_SK,sk}.po | |
45 | mv -f po/{sv_SE,sv}.po | |
dae295b1 | 46 | mv -f po/{tr_TR,tr}.po |
9c2b197e | 47 | mv -f po/{uk_UA,uk}.po |
942edd95 | 48 | |
a99671b4 | 49 | # NOTE: check the list after any upgrade! |
942edd95 JB |
50 | cat > po/LINGUAS <<EOF |
51 | ar | |
dae295b1 | 52 | ca |
942edd95 | 53 | de |
942edd95 | 54 | es |
dae295b1 | 55 | es_AR |
942edd95 | 56 | fr |
dae295b1 | 57 | gl |
ba815fd1 | 58 | hu |
942edd95 | 59 | it |
ba815fd1 | 60 | ja |
942edd95 | 61 | ko |
9c2b197e JB |
62 | nb |
63 | nl | |
d53427fd | 64 | pl |
942edd95 JB |
65 | pt_BR |
66 | pt | |
67 | ru | |
68 | sk | |
69 | sv | |
dae295b1 | 70 | tr |
9c2b197e | 71 | uk |
942edd95 | 72 | zh_CN |
ba815fd1 RT |
73 | zh_HK |
74 | zh_TW | |
942edd95 JB |
75 | EOF |
76 | ||
fa63487c | 77 | %build |
ff37bed5 | 78 | %{__glib_gettextize} |
e8928158 | 79 | %{__intltoolize} |
dae295b1 JB |
80 | %{__aclocal} |
81 | %{__autoconf} | |
82 | %{__autoheader} | |
83 | %{__automake} | |
ba815fd1 RT |
84 | %configure \ |
85 | --disable-mime-update | |
fa63487c RT |
86 | %{__make} |
87 | ||
88 | %install | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
91 | %{__make} install \ | |
47f867ed | 92 | DESTDIR=$RPM_BUILD_ROOT |
fa63487c | 93 | |
e8928158 JB |
94 | %find_lang %{name} |
95 | ||
fa63487c RT |
96 | %clean |
97 | rm -rf $RPM_BUILD_ROOT | |
98 | ||
ff37bed5 MB |
99 | %post |
100 | %update_icon_cache hicolor | |
101 | ||
102 | %postun | |
103 | %update_icon_cache hicolor | |
104 | ||
e8928158 | 105 | %files -f %{name}.lang |
fa63487c RT |
106 | %defattr(644,root,root,755) |
107 | %attr(755,root,root) %{_bindir}/* | |
add9ef13 | 108 | %{_desktopdir}/beryl-manager.desktop |
ff37bed5 | 109 | %{_iconsdir}/hicolor/*/*/beryl-manager.* |
dae295b1 | 110 | %{_pixmapsdir}/*.png |
3df1ed1e | 111 | %{_mandir}/man1/*.1* |