[packages/libmatekbd] use package names in deps; more specific urls; update deps
glen
glen at pld-linux.org
Tue Jan 15 18:22:39 CET 2013
commit 87460d0d3a88e984aaae66468f8cfc3756a3f48b
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Jan 15 19:22:19 2013 +0200
use package names in deps; more specific urls; update deps
libmatekbd.spec | 25 ++++++++++---------------
1 file changed, 10 insertions(+), 15 deletions(-)
---
diff --git a/libmatekbd.spec b/libmatekbd.spec
index 94a7211..2bbb9ca 100644
--- a/libmatekbd.spec
+++ b/libmatekbd.spec
@@ -4,14 +4,16 @@ Version: 1.5.0
Release: 1
License: LGPL v2+
Group: X11/Libraries
-URL: http://mate-desktop.org/
Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
# Source0-md5: aa3781beb79ceb8126df589cea481140
+URL: http://wiki.mate-desktop.org/libmatekbd
BuildRequires: desktop-file-utils
-BuildRequires: mate-common
-BuildRequires: pkgconfig(gsettings-desktop-schemas)
-BuildRequires: pkgconfig(gtk+-2.0)
-BuildRequires: pkgconfig(libxklavier)
+BuildRequires: glib2-devel >= 1:2.18
+BuildRequires: gsettings-desktop-schemas-devel
+BuildRequires: gtk+2-devel
+BuildRequires: intltool >= 0.35.0
+BuildRequires: libxklavier-devel
+BuildRequires: mate-common >= 1.5
BuildRequires: tar >= 1:1.22
BuildRequires: xz
Requires: glib2 >= 1:2.26.0
@@ -45,16 +47,9 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -name '*.la' | xargs rm
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
-#desktop-file-install \
-# --remove-category="MATE" \
-# --add-category="X-Mate" \
-# --delete-original \
-# --dir=$RPM_BUILD_ROOT%{_desktopdir} \
-#$RPM_BUILD_ROOT%{_desktopdir}/matekbd-indicator-plugins-capplet.desktop
-
-%find_lang %{name} --all-name
+%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -71,7 +66,7 @@ fi
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS COPYING.LIB README
+%doc AUTHORS README
%{_datadir}/libmatekbd
%{_datadir}/glib-2.0/schemas/org.mate.peripherals-keyboard-xkb.gschema.xml
%attr(755,root,root) %{_libdir}/libmatekbd.so.*.*.*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libmatekbd.git/commitdiff/87460d0d3a88e984aaae66468f8cfc3756a3f48b
More information about the pld-cvs-commit
mailing list