[11644] | 1 | %define major_ver 1.20 |
---|
| 2 | %define ver %{major_ver}.1 |
---|
[10996] | 3 | %define rel 1 |
---|
| 4 | |
---|
[5311] | 5 | Summary: MATE keyboard shared library |
---|
| 6 | Name: libmatekbd |
---|
[10996] | 7 | Version: %{ver} |
---|
| 8 | Release: %{rel}%{?_dist_release} |
---|
| 9 | Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz |
---|
[10882] | 10 | License: LGPLv2.1 |
---|
[5311] | 11 | Group: System Environment/Libraries |
---|
[6679] | 12 | URL: http://mate-desktop.org/ |
---|
[5311] | 13 | |
---|
| 14 | BuildRequires: mate-common |
---|
[11644] | 15 | BuildRequires: gtk3-devel >= 3.22.0 |
---|
[10996] | 16 | BuildRequires: libxklavier-devel > 5.2 |
---|
[5311] | 17 | BuildRequires: autoconf |
---|
| 18 | BuildRequires: automake |
---|
| 19 | |
---|
[7697] | 20 | Requires(posttrans,postun): glib2 |
---|
[5311] | 21 | Requires(post,postun): desktop-file-utils |
---|
| 22 | |
---|
| 23 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 24 | |
---|
| 25 | Vendor: Project Vine |
---|
| 26 | Distribution: Vine Linux |
---|
[10882] | 27 | Packager: Takemikaduchi, iwaim |
---|
[5311] | 28 | |
---|
| 29 | |
---|
| 30 | %description |
---|
| 31 | MATE keyboard shared library |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %package devel |
---|
| 35 | Summary: Development tools for libmatekbd |
---|
| 36 | Summary(ja): libmatekbd の開発環境 |
---|
| 37 | Group: Development/Libraries |
---|
| 38 | Requires: %{name} = %{version}-%{release} |
---|
| 39 | Requires: pkgconfig |
---|
| 40 | |
---|
| 41 | %description devel |
---|
| 42 | Header files and libraries for building a extension library for the |
---|
| 43 | libmatekbd. |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %prep |
---|
| 47 | %setup -q |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %build |
---|
| 51 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 52 | %configure \ |
---|
| 53 | --disable-static \ |
---|
| 54 | |
---|
| 55 | %{__make} %{?_smp_mflags} |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %install |
---|
| 59 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 60 | |
---|
| 61 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 62 | |
---|
| 63 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 64 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 65 | |
---|
| 66 | %find_lang %{name} |
---|
| 67 | |
---|
| 68 | %clean |
---|
| 69 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 70 | |
---|
| 71 | %post |
---|
| 72 | /sbin/ldconfig |
---|
| 73 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 74 | |
---|
| 75 | %postun |
---|
| 76 | /sbin/ldconfig |
---|
[7697] | 77 | if [ $1 -eq 0 ]; then |
---|
| 78 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 79 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 80 | fi |
---|
[5311] | 81 | |
---|
[7697] | 82 | %posttrans |
---|
| 83 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 84 | |
---|
[5311] | 85 | %files -f %{name}.lang |
---|
| 86 | %defattr(-,root,root,-) |
---|
[7697] | 87 | %doc COPYING ChangeLog NEWS README |
---|
[5311] | 88 | %{_libdir}/libmatekbd*.so.* |
---|
[9797] | 89 | %{_libdir}/girepository-1.0/Matekbd-1.0.typelib |
---|
[7697] | 90 | %{_datadir}/glib-2.0/schemas/org.mate.peripherals-keyboard-xkb.gschema.xml |
---|
[5311] | 91 | %{_datadir}/libmatekbd/ui/*.ui |
---|
| 92 | |
---|
| 93 | %files devel |
---|
| 94 | %defattr(-,root,root,-) |
---|
| 95 | %{_includedir}/libmatekbd |
---|
| 96 | %{_libdir}/libmatekbd*.so |
---|
| 97 | %{_libdir}/pkgconfig/libmatekbd.pc |
---|
| 98 | %{_libdir}/pkgconfig/libmatekbdui.pc |
---|
[9797] | 99 | %{_datadir}/gir-1.0/Matekbd-1.0.gir |
---|
[5311] | 100 | |
---|
| 101 | |
---|
| 102 | %changelog |
---|
[11644] | 103 | * Wed Mar 28 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.1-1 |
---|
| 104 | - update to 1.20.1 |
---|
| 105 | |
---|
[11038] | 106 | * Tue Apr 11 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1 |
---|
| 107 | - update to 1.18.2 |
---|
| 108 | |
---|
[10996] | 109 | * Sun Apr 2 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1 |
---|
| 110 | - update to 1.18.0 |
---|
| 111 | - move to GTK3+ |
---|
| 112 | - drop BR: libSM-devel |
---|
| 113 | |
---|
| 114 | * Sat Nov 26 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1 |
---|
[10882] | 115 | - new upstream release |
---|
| 116 | - fix License |
---|
| 117 | - update Packager |
---|
| 118 | |
---|
[10327] | 119 | * Sun May 22 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1 |
---|
| 120 | - new upstream release |
---|
| 121 | |
---|
[10255] | 122 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
| 123 | - new upstream release |
---|
| 124 | |
---|
[9842] | 125 | * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
| 126 | - new upstream release |
---|
| 127 | |
---|
[9797] | 128 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
| 129 | - new upstream release |
---|
| 130 | |
---|
[9552] | 131 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
| 132 | - new upstream release |
---|
| 133 | |
---|
[8359] | 134 | * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 135 | - new upstream release |
---|
| 136 | |
---|
[8068] | 137 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
| 138 | - rebuild with VineSeed environment |
---|
| 139 | |
---|
[7821] | 140 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 141 | - new upstream release |
---|
| 142 | |
---|
[7697] | 143 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 144 | - new upstream release |
---|
| 145 | - remove BuildRequires: mate-conf-devel |
---|
| 146 | |
---|
[6679] | 147 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 148 | - new upstream release |
---|
| 149 | |
---|
[6172] | 150 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 151 | - new upstream release |
---|
| 152 | - add BuildRequires: libSM-devel |
---|
| 153 | |
---|
[5311] | 154 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 155 | - initial build for Vine Linux |
---|
| 156 | |
---|