]> git.pld-linux.org Git - packages/beryl-plugins.git/blobdiff - beryl-plugins.spec
- nl lang added
[packages/beryl-plugins.git] / beryl-plugins.spec
index 1e36641f9e847894b75293b4c76cc52f1641073f..0d65a3fdbac607fefb257be25475a9a56e12e58d 100644 (file)
@@ -1,39 +1,80 @@
 Summary:       beryl plugins
-Summary(pl):   Wtyczki do beryla
+Summary(pl.UTF-8):     Wtyczki do beryla
 Name:          beryl-plugins
-Version:       20061102
+Version:       0.1.9999.2
 Release:       1
-License:       GPL/MIT
+Epoch:         1
+License:       GPL v2+/MIT (depending on plugin)
 Group:         X11
-#Source0:      http://distfiles.xgl-coffee.org/beryl-plugins/%{name}-%{version}.tar.bz2
-Source0:       %{name}-%{version}.tar.bz2
-# Source0-md5: 9782e45a25f5781a1553c7be879106c2
+Source0:       http://releases.beryl-project.org/%{version}/%{name}-%{version}.tar.bz2
+# Source0-md5: 1dd90be00f7889cf4cef197b4f8ea7c3
 Patch0:                %{name}-fsck-patents.patch
+URL:           http://beryl-project.org/
+BuildRequires: OpenGL-devel
 BuildRequires: autoconf >= 2.57
-BuildRequires: automake
-BuildRequires: beryl-core-devel >= 0.1.0
+BuildRequires: automake >= 1:1.7
+BuildRequires: beryl-core-devel >= 1:%{version}
 BuildRequires: cairo-devel >= 1.0
 BuildRequires: dbus-devel >= 0.50
 BuildRequires: glib2-devel >= 2.0
+BuildRequires: intltool >= 0.35.0
 BuildRequires: librsvg-devel >= 2.14.0
 BuildRequires: libtool
 BuildRequires: pkgconfig
-Requires:      beryl-core >= 0.1.0
+Requires:      beryl-core >= 1:%{version}
+Obsoletes:     compiz-quinnstorm-plugins
+Obsoletes:     beryl-dbus
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 beryl plugins.
 
-%description -l pl
+%description -l pl.UTF-8
 Wtyczki do beryla.
 
 %prep
-%setup -q -n %{name}
+%setup -q
 %patch0 -p1
+mv -f po/{ca_ES,ca}.po
+mv -f po/{es_ES,es}.po
+mv -f po/{fr_FR,fr}.po
+mv -f po/{hu_HU,hu}.po
+mv -f po/{it_IT,it}.po
+mv -f po/{ja_JP,ja}.po
+mv -f po/{ko_KR,ko}.po
+mv -f po/{pl_PL,pl}.po
+mv -f po/{pt_PT,pt}.po
+mv -f po/{sv_SE,sv}.po
+# sv_FI is identical to sv_SE
 
-%build
-autoreconf -v --install
+# NOTE: check the list after any upgrade!
+cat > po/LINGUAS <<EOF
+ca
+es
+es_AR
+fr
+hu
+it
+ja
+ko
+nl
+pl
+pt_BR
+pt
+sv
+zh_CN
+zh_HK
+zh_TW
+EOF
 
+%build
+%{__glib_gettextize}
+%{__intltoolize} --automake
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        --disable-static
 %{__make}
@@ -46,13 +87,13 @@ rm -rf $RPM_BUILD_ROOT
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/beryl/*.la
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS README
-%dir %{_libdir}/beryl
 %attr(755,root,root) %{_libdir}/beryl/*.so
-%dir %{_datadir}/beryl
 %{_datadir}/beryl/*.png
This page took 0.089797 seconds and 4 git commands to generate.