]> git.pld-linux.org Git - packages/aquamarine.git/blobdiff - aquamarine.spec
- up to 0.2.0
[packages/aquamarine.git] / aquamarine.spec
index ce7d164fe6eb90460f4b100bcfd1e22822eb8176..526ccb8f3087c786b4a13dfb898d70d8bdae32fc 100644 (file)
@@ -1,32 +1,81 @@
-%define         _snap   20061203
-Summary:       Themeable window decorator and compositing manager for Beryl
-Summary(pl):   Dekorator dla Beryla u¿ywaj±cy tematów
+Summary:       Themeable window decorator and compositing manager for beryl
+Summary(pl.UTF-8):     Dekorator okien dla beryla używający motywów
 Name:          aquamarine
-Version:       0.1.3
-Release:       0.%{_snap}.1
+Version:       0.2.0
+Release:       1
 License:       GPL v2+
 Group:         Themes
-Source0:       %{name}-%{_snap}.tar.gz
-# Source0-md5: ff567dcd75dede824fe66ab1955d2f21
+Source0:       http://releases.beryl-project.org/%{version}/%{name}-%{version}.tar.bz2
+# Source0-md5: 9d5341b93c4f223838a37a7adc5e3c19
+Patch0:                %{name}-ac260-lt.patch
+Patch1:                %{name}-include.patch
+Patch2:                kde-ac260-lt.patch
 URL:           http://www.beryl-project.org/
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake >= 1.5
+BuildRequires: beryl-core-devel >= 1:0.2.0
+BuildRequires: gtk+2-devel >= 2:2.8.0
 BuildRequires: kdebase-devel >= 9:3.5.0
 BuildRequires: kdelibs-devel >= 9:3.5.0
+BuildRequires: libart_lgpl-devel
+BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.129
+BuildRequires: startup-notification-devel
+BuildRequires: xorg-lib-libXcomposite-devel
+BuildRequires: xorg-lib-libXmu-devel
+BuildRequires: xorg-lib-libXft-devel
+Requires:      beryl-core >= 1:0.2.0
+Obsoletes:     compiz-quinnstorm-kde-decorator
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Aquamarine is themeable window decorator and compositing manager for
-Beryl. Aquamarine is intended for use with KDE.
+beryl. Aquamarine is intended for use with KDE.
 
-%description -l pl
-Aquamarine jest dekoratorem okien dla beryla u¿ywaj±cym tematów.
-Jest przeznaczony do u¿ywania wraz z KDE.
+%description -l pl.UTF-8
+Aquamarine jest dekoratorem okien dla beryla używającym motywów. Jest
+przeznaczony do używania wraz z KDE.
 
 %prep
-%setup -q -n %{name}
-%{__make} -f admin/Makefile.common svn
+%setup -q
+%patch0 -p1
+%patch1 -p0
+%patch2 -p1
+
+mv -f po/{es_ES,es}.po
+mv -f po/{hu_HU,hu}.po
+mv -f po/{pl_PL,pl}.po
+mv -f po/{sv_SE,sv}.po
+mv -f po/{uk_UA,uk}.po
+rm -r po/ru_UA.po # I dont know whot's that
+
+# NOTE: check the list after any upgrade!
+cat > po/LINGUAS <<EOF
+ca
+de
+es
+es_AR
+hu
+it
+ja
+ko
+nl
+pl
+pt
+ru
+sv
+uk
+zh_CN
+zh_HK
+zh_TW
+EOF
 
 %build
+# can't libtoolize with KDE mess
+#%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+#%{__automake}
 %configure \
 %if "%{_lib}" == "lib64"
        --enable-libsuffix=64 \
@@ -41,9 +90,17 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%find_lang %{name}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
+%doc AUTHORS
 %attr(755,root,root) %{_bindir}/aquamarine
+%{_libdir}/beryl/backends/libkconfig.la
+%attr(755,root,root) %{_libdir}/beryl/backends/libkconfig.so
+%{_libdir}/kde3/kcm_beryl.la
+%attr(755,root,root) %{_libdir}/kde3/kcm_beryl.so
+%{_desktopdir}/kde/beryl.desktop
+%{_datadir}/config.kcfg/aquamarine.kcfg
This page took 0.086512 seconds and 4 git commands to generate.