1 | Summary: MATE keyboard shared library |
---|
2 | Name: libmatekbd |
---|
3 | Version: 1.6.0 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | Source0: http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz |
---|
6 | License: GPLv2 |
---|
7 | Group: System Environment/Libraries |
---|
8 | URL: http://mate-desktop.org/ |
---|
9 | |
---|
10 | BuildRequires: mate-common |
---|
11 | BuildRequires: gtk2-devel |
---|
12 | BuildRequires: libxklavier-devel |
---|
13 | BuildRequires: libSM-devel |
---|
14 | BuildRequires: autoconf |
---|
15 | BuildRequires: automake |
---|
16 | |
---|
17 | Requires(posttrans,postun): glib2 |
---|
18 | Requires(post,postun): desktop-file-utils |
---|
19 | |
---|
20 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
21 | |
---|
22 | Vendor: Project Vine |
---|
23 | Distribution: Vine Linux |
---|
24 | Packager: Takemikaduchi |
---|
25 | |
---|
26 | |
---|
27 | %description |
---|
28 | MATE keyboard shared library |
---|
29 | |
---|
30 | |
---|
31 | %package devel |
---|
32 | Summary: Development tools for libmatekbd |
---|
33 | Summary(ja): libmatekbd の開発環境 |
---|
34 | Group: Development/Libraries |
---|
35 | Requires: %{name} = %{version}-%{release} |
---|
36 | Requires: pkgconfig |
---|
37 | |
---|
38 | %description devel |
---|
39 | Header files and libraries for building a extension library for the |
---|
40 | libmatekbd. |
---|
41 | |
---|
42 | |
---|
43 | %prep |
---|
44 | %setup -q |
---|
45 | |
---|
46 | |
---|
47 | %build |
---|
48 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
49 | %configure \ |
---|
50 | --disable-static \ |
---|
51 | |
---|
52 | %{__make} %{?_smp_mflags} |
---|
53 | |
---|
54 | |
---|
55 | %install |
---|
56 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
57 | |
---|
58 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
59 | |
---|
60 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
61 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
62 | |
---|
63 | %find_lang %{name} |
---|
64 | |
---|
65 | %clean |
---|
66 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
67 | |
---|
68 | %post |
---|
69 | /sbin/ldconfig |
---|
70 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
71 | |
---|
72 | %postun |
---|
73 | /sbin/ldconfig |
---|
74 | if [ $1 -eq 0 ]; then |
---|
75 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
76 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
77 | fi |
---|
78 | |
---|
79 | %posttrans |
---|
80 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
81 | |
---|
82 | %files -f %{name}.lang |
---|
83 | %defattr(-,root,root,-) |
---|
84 | %doc COPYING ChangeLog NEWS README |
---|
85 | %{_libdir}/libmatekbd*.so.* |
---|
86 | %{_datadir}/MateConf/gsettings/matekbd.convert |
---|
87 | %{_datadir}/glib-2.0/schemas/org.mate.peripherals-keyboard-xkb.gschema.xml |
---|
88 | %{_datadir}/libmatekbd/ui/*.ui |
---|
89 | |
---|
90 | %files devel |
---|
91 | %defattr(-,root,root,-) |
---|
92 | %{_includedir}/libmatekbd |
---|
93 | %{_libdir}/libmatekbd*.so |
---|
94 | %{_libdir}/pkgconfig/libmatekbd.pc |
---|
95 | %{_libdir}/pkgconfig/libmatekbdui.pc |
---|
96 | |
---|
97 | |
---|
98 | %changelog |
---|
99 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
100 | - new upstream release |
---|
101 | - remove BuildRequires: mate-conf-devel |
---|
102 | |
---|
103 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
104 | - new upstream release |
---|
105 | |
---|
106 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
107 | - new upstream release |
---|
108 | - add BuildRequires: libSM-devel |
---|
109 | |
---|
110 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
111 | - initial build for Vine Linux |
---|
112 | |
---|