]> git.pld-linux.org Git - packages/beryl-settings.git/blob - beryl-settings.spec
- up to 0.1.3
[packages/beryl-settings.git] / beryl-settings.spec
1 Summary:        A GTK+ tool to configure beryl
2 Summary(pl):    Narzêdzie GTK+ do konfiguracji beryla
3 Name:           beryl-settings
4 Version:        0.1.3
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Window Managers/Tools
8 Source0:        http://releases.beryl-project.org/%{version}/%{name}-%{version}.tar.bz2
9 # Source0-md5:  bd88d56f32b23d42d44c85a92f0654f3
10 BuildRequires:  autoconf >= 2.57
11 BuildRequires:  automake
12 BuildRequires:  beryl-core-devel
13 BuildRequires:  dbus-glib-devel >= 0.50
14 BuildRequires:  gtk+2-devel >= 2:2.8.0
15 BuildRequires:  intltool >= 0.35.0
16 BuildRequires:  pkgconfig
17 Requires:       beryl-core
18 Requires:       beryl-plugins
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 A GTK+ tool to configure beryl.
23
24 %description -l pl
25 Narzêdzie GTK+ do konfiguracji beryla.
26
27 %prep
28 %setup -q
29 mv -f po/{es_AR,ar}.po
30 mv -f po/{es_ES,es}.po
31 mv -f po/{fr_FR,fr}.po
32 mv -f po/{hu_HU,hu}.po
33 mv -f po/{it_IT,it}.po
34 mv -f po/{ja_JP,ja}.po
35 mv -f po/{ko_KR,ko}.po
36 mv -f po/{pt_PT,pt}.po
37 mv -f po/{sv_SE,sv}.po
38
39     # NOTE: check the list ofter any upgrade!
40 cat > po/LINGUAS <<EOF
41 ar
42 es
43 fr
44 hu
45 it
46 ja
47 ko
48 pt_BR
49 pt
50 sv
51 zh_CN
52 zh_HK
53 zh_TW
54 EOF
55
56 %build
57 autoreconf -v --install
58 %{__intltoolize}
59 %{__glib_gettextize} --copy --force
60 %configure
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install \
67     DESTDIR=$RPM_BUILD_ROOT
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc AUTHORS README
75 %attr(755,root,root) %{_bindir}/beryl-settings
76 %{_desktopdir}/beryl-settings.desktop
77 %{_pixmapsdir}/*.svg
78 %{_mandir}/man1/*.1*
This page took 0.072852 seconds and 3 git commands to generate.