]> git.pld-linux.org Git - packages/beryl-plugins.git/blob - beryl-plugins.spec
- nl lang added
[packages/beryl-plugins.git] / beryl-plugins.spec
1 Summary:        beryl plugins
2 Summary(pl.UTF-8):      Wtyczki do beryla
3 Name:           beryl-plugins
4 Version:        0.1.9999.2
5 Release:        1
6 Epoch:          1
7 License:        GPL v2+/MIT (depending on plugin)
8 Group:          X11
9 Source0:        http://releases.beryl-project.org/%{version}/%{name}-%{version}.tar.bz2
10 # Source0-md5:  1dd90be00f7889cf4cef197b4f8ea7c3
11 Patch0:         %{name}-fsck-patents.patch
12 URL:            http://beryl-project.org/
13 BuildRequires:  OpenGL-devel
14 BuildRequires:  autoconf >= 2.57
15 BuildRequires:  automake >= 1:1.7
16 BuildRequires:  beryl-core-devel >= 1:%{version}
17 BuildRequires:  cairo-devel >= 1.0
18 BuildRequires:  dbus-devel >= 0.50
19 BuildRequires:  glib2-devel >= 2.0
20 BuildRequires:  intltool >= 0.35.0
21 BuildRequires:  librsvg-devel >= 2.14.0
22 BuildRequires:  libtool
23 BuildRequires:  pkgconfig
24 Requires:       beryl-core >= 1:%{version}
25 Obsoletes:      compiz-quinnstorm-plugins
26 Obsoletes:      beryl-dbus
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 beryl plugins.
31
32 %description -l pl.UTF-8
33 Wtyczki do beryla.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38 mv -f po/{ca_ES,ca}.po
39 mv -f po/{es_ES,es}.po
40 mv -f po/{fr_FR,fr}.po
41 mv -f po/{hu_HU,hu}.po
42 mv -f po/{it_IT,it}.po
43 mv -f po/{ja_JP,ja}.po
44 mv -f po/{ko_KR,ko}.po
45 mv -f po/{pl_PL,pl}.po
46 mv -f po/{pt_PT,pt}.po
47 mv -f po/{sv_SE,sv}.po
48 # sv_FI is identical to sv_SE
49
50 # NOTE: check the list after any upgrade!
51 cat > po/LINGUAS <<EOF
52 ca
53 es
54 es_AR
55 fr
56 hu
57 it
58 ja
59 ko
60 nl
61 pl
62 pt_BR
63 pt
64 sv
65 zh_CN
66 zh_HK
67 zh_TW
68 EOF
69
70 %build
71 %{__glib_gettextize}
72 %{__intltoolize} --automake
73 %{__libtoolize}
74 %{__aclocal}
75 %{__autoconf}
76 %{__autoheader}
77 %{__automake}
78 %configure \
79         --disable-static
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT
87
88 rm -f $RPM_BUILD_ROOT%{_libdir}/beryl/*.la
89
90 %find_lang %{name}
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %files -f %{name}.lang
96 %defattr(644,root,root,755)
97 %doc AUTHORS README
98 %attr(755,root,root) %{_libdir}/beryl/*.so
99 %{_datadir}/beryl/*.png
This page took 0.58298 seconds and 3 git commands to generate.