[packages/mate-themes] - new, version 1.5.0

glen glen at pld-linux.org
Mon Dec 24 18:14:49 CET 2012


commit 2c8f6bfa2f689de1742c9d5ca2cf5791519b5084
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Dec 24 19:13:56 2012 +0200

    - new, version 1.5.0
    
    based on fedora package

 mate-themes.spec | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 110 insertions(+)
---
diff --git a/mate-themes.spec b/mate-themes.spec
new file mode 100644
index 0000000..fb93828
--- /dev/null
+++ b/mate-themes.spec
@@ -0,0 +1,110 @@
+Summary:	MATE Desktop themes
+Name:		mate-themes
+Version:	1.5.0
+Release:	0.3
+License:	GPL v2+
+Group:		Themes
+Source0:	http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
+# Source0-md5:	dd187acc5ccefc60b7b0309ee14a4912
+URL:		http://mate-desktop.org/
+BuildRequires:	icon-naming-utils
+BuildRequires:	mate-common
+BuildRequires:	mate-doc-utils
+BuildRequires:	mate-icon-theme-devel
+BuildRequires:	pkgconfig(gtk-engines-2)
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+Requires:	gtk2-engines
+Requires:	gtk2-theme-engine-murrine
+Requires:	mate-icon-theme
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+MATE Desktop themes.
+
+%prep
+%setup -q
+
+%build
+NOCONFIGURE=1 ./autogen.sh
+%configure \
+	--enable-all-themes \
+	--enable-icon-mapping \
+
+%{__make} \
+	V=1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	INSTALL="install -p" \
+	DESTDIR=$RPM_BUILD_ROOT
+
+for dir in $RPM_BUILD_ROOT%{_iconsdir}/*/; do
+	gtk-update-icon-cache -ft $dir
+done
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+for icon_theme in \
+  Fog PrintLarge Quid Reverse Shiny Simply TraditionalOk \
+  ContrastHighLargePrint ContrastHighLargePrintInverse \
+  ContrastLow ContrastHigh ContrastHighInverse Aldabra ;
+do
+	/bin/touch --no-create %{_datadir}/icons/${icon_theme}
+done
+
+%postun
+if [ $1 -eq 0 ]; then
+	for icon_theme in \
+	Fog PrintLarge Quid Reverse Shiny Simply TraditionalOk \
+	ContrastHighLargePrint ContrastHighLargePrintInverse \
+	ContrastLow ContrastHigh ContrastHighInverse Aldabra; do
+		/bin/touch --no-create %{_datadir}/icons/${icon_theme}
+		%{_bindir}/gtk-update-icon-cache %{_datadir}/icons/${icon_theme}
+	done
+fi
+
+%posttrans
+for icon_theme in \
+	Fog PrintLarge Quid Reverse Shiny Simply TraditionalOk \
+	ContrastHighLargePrint ContrastHighLargePrintInverse \
+	ContrastLow ContrastHigh ContrastHighInverse Aldabra; do
+	%{_bindir}/gtk-update-icon-cache %{_datadir}/icons/${icon_theme}
+done
+exit 0
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING README
+%{_iconsdir}/ContrastHigh-SVG
+%{_datadir}/themes/TraditionalOkClassic
+%{_datadir}/themes/ContrastLowLargePrint
+%{_datadir}/themes/Fog
+%{_datadir}/themes/PrintLarge
+%{_datadir}/themes/Quid
+%{_datadir}/themes/Reverse
+%{_datadir}/themes/Shiny
+%{_datadir}/themes/Simply
+%{_datadir}/themes/TraditionalOk
+%{_datadir}/themes/ContrastHighLargePrint
+%{_datadir}/themes/ContrastHighLargePrintInverse
+%{_datadir}/themes/ContrastLow
+%{_datadir}/themes/ContrastHigh
+%{_datadir}/themes/ContrastHighInverse
+%{_datadir}/themes/Aldabra
+%{_iconsdir}/ContrastHigh
+%{_iconsdir}/ContrastHighInverse
+%{_iconsdir}/ContrastHighLargePrint
+%{_iconsdir}/Fog
+%{_iconsdir}/MateLargePrint
+%{_iconsdir}/Quid
+%{_datadir}/themes/AlaDelta
+%{_datadir}/themes/Atantla
+%{_iconsdir}/mate/cursors
+%{_iconsdir}/ContrastHighLargePrintInverse
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mate-themes.git/commitdiff/2c8f6bfa2f689de1742c9d5ca2cf5791519b5084



More information about the pld-cvs-commit mailing list