]> git.pld-linux.org Git - packages/beryl-plugins.git/blob - beryl-plugins.spec
3db1bf0b6ec8a1948691ec1c8fcc50b504143954
[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.2.0
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:  15ca97214f2f29fd3c8fc2fe8491c812
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/{hu_HU,hu}.po
39 mv -f po/{it_IT,it}.po
40 mv -f po/{nb_NO,nb}.po
41 mv -f po/{pl_PL,pl}.po
42 mv -f po/{pt_PT,pt}.po
43 mv -f po/{sv_SE,sv}.po
44
45 # NOTE: check the list after any upgrade!
46 cat > po/LINGUAS <<EOF
47 ca
48 es
49 es_AR
50 fr
51 hu
52 it
53 ja
54 ko
55 nb
56 nl
57 pl
58 pt_BR
59 pt
60 sv
61 zh_CN
62 zh_HK
63 zh_TW
64 EOF
65
66 %build
67 %{__glib_gettextize}
68 %{__intltoolize} --automake
69 %{__libtoolize}
70 %{__aclocal}
71 %{__autoconf}
72 %{__autoheader}
73 %{__automake}
74 %configure \
75         --disable-static
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT
83
84 rm -f $RPM_BUILD_ROOT%{_libdir}/beryl/*.la
85
86 %find_lang %{name}
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %files -f %{name}.lang
92 %defattr(644,root,root,755)
93 %doc AUTHORS README
94 %attr(755,root,root) %{_libdir}/beryl/*.so
95 %{_datadir}/beryl/*.png
This page took 0.118837 seconds and 2 git commands to generate.