[5311] | 1 | Summary: MATE keyboard shared library |
---|
| 2 | Name: libmatekbd |
---|
[9552] | 3 | Version: 1.10.0 |
---|
[8359] | 4 | Release: 1%{?_dist_release} |
---|
[9552] | 5 | Source0: http://pub.mate-desktop.org/releases/1.10/%{name}-%{version}.tar.xz |
---|
[5311] | 6 | License: GPLv2 |
---|
| 7 | Group: System Environment/Libraries |
---|
[6679] | 8 | URL: http://mate-desktop.org/ |
---|
[5311] | 9 | |
---|
| 10 | BuildRequires: mate-common |
---|
| 11 | BuildRequires: gtk2-devel |
---|
| 12 | BuildRequires: libxklavier-devel |
---|
[6172] | 13 | BuildRequires: libSM-devel |
---|
[5311] | 14 | BuildRequires: autoconf |
---|
| 15 | BuildRequires: automake |
---|
| 16 | |
---|
[7697] | 17 | Requires(posttrans,postun): glib2 |
---|
[5311] | 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 |
---|
[7697] | 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 |
---|
[5311] | 78 | |
---|
[7697] | 79 | %posttrans |
---|
| 80 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 81 | |
---|
[5311] | 82 | %files -f %{name}.lang |
---|
| 83 | %defattr(-,root,root,-) |
---|
[7697] | 84 | %doc COPYING ChangeLog NEWS README |
---|
[5311] | 85 | %{_libdir}/libmatekbd*.so.* |
---|
[7697] | 86 | %{_datadir}/MateConf/gsettings/matekbd.convert |
---|
| 87 | %{_datadir}/glib-2.0/schemas/org.mate.peripherals-keyboard-xkb.gschema.xml |
---|
[5311] | 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 |
---|
[9552] | 99 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
| 100 | - new upstream release |
---|
| 101 | |
---|
[8359] | 102 | * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 103 | - new upstream release |
---|
| 104 | |
---|
[8068] | 105 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
| 106 | - rebuild with VineSeed environment |
---|
| 107 | |
---|
[7821] | 108 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 109 | - new upstream release |
---|
| 110 | |
---|
[7697] | 111 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 112 | - new upstream release |
---|
| 113 | - remove BuildRequires: mate-conf-devel |
---|
| 114 | |
---|
[6679] | 115 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 116 | - new upstream release |
---|
| 117 | |
---|
[6172] | 118 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 119 | - new upstream release |
---|
| 120 | - add BuildRequires: libSM-devel |
---|
| 121 | |
---|
[5311] | 122 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 123 | - initial build for Vine Linux |
---|
| 124 | |
---|