1 | %define major_ver 1.18 |
---|
2 | %define ver %{major_ver}.2 |
---|
3 | %define rel 1 |
---|
4 | |
---|
5 | Summary: MATE keyboard shared library |
---|
6 | Name: libmatekbd |
---|
7 | Version: %{ver} |
---|
8 | Release: %{rel}%{?_dist_release} |
---|
9 | Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz |
---|
10 | License: LGPLv2.1 |
---|
11 | Group: System Environment/Libraries |
---|
12 | URL: http://mate-desktop.org/ |
---|
13 | |
---|
14 | BuildRequires: mate-common |
---|
15 | BuildRequires: gtk3-devel >= 3.14 |
---|
16 | BuildRequires: libxklavier-devel > 5.2 |
---|
17 | BuildRequires: autoconf |
---|
18 | BuildRequires: automake |
---|
19 | |
---|
20 | Requires(posttrans,postun): glib2 |
---|
21 | Requires(post,postun): desktop-file-utils |
---|
22 | |
---|
23 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
24 | |
---|
25 | Vendor: Project Vine |
---|
26 | Distribution: Vine Linux |
---|
27 | Packager: Takemikaduchi, iwaim |
---|
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 |
---|
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 |
---|
81 | |
---|
82 | %posttrans |
---|
83 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
84 | |
---|
85 | %files -f %{name}.lang |
---|
86 | %defattr(-,root,root,-) |
---|
87 | %doc COPYING ChangeLog NEWS README |
---|
88 | %{_libdir}/libmatekbd*.so.* |
---|
89 | %{_libdir}/girepository-1.0/Matekbd-1.0.typelib |
---|
90 | %{_datadir}/glib-2.0/schemas/org.mate.peripherals-keyboard-xkb.gschema.xml |
---|
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 |
---|
99 | %{_datadir}/gir-1.0/Matekbd-1.0.gir |
---|
100 | |
---|
101 | |
---|
102 | %changelog |
---|
103 | * Tue Apr 11 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1 |
---|
104 | - update to 1.18.2 |
---|
105 | |
---|
106 | * Sun Apr 2 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1 |
---|
107 | - update to 1.18.0 |
---|
108 | - move to GTK3+ |
---|
109 | - drop BR: libSM-devel |
---|
110 | |
---|
111 | * Sat Nov 26 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1 |
---|
112 | - new upstream release |
---|
113 | - fix License |
---|
114 | - update Packager |
---|
115 | |
---|
116 | * Sun May 22 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1 |
---|
117 | - new upstream release |
---|
118 | |
---|
119 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
120 | - new upstream release |
---|
121 | |
---|
122 | * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
123 | - new upstream release |
---|
124 | |
---|
125 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
126 | - new upstream release |
---|
127 | |
---|
128 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
129 | - new upstream release |
---|
130 | |
---|
131 | * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
132 | - new upstream release |
---|
133 | |
---|
134 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
135 | - rebuild with VineSeed environment |
---|
136 | |
---|
137 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
138 | - new upstream release |
---|
139 | |
---|
140 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
141 | - new upstream release |
---|
142 | - remove BuildRequires: mate-conf-devel |
---|
143 | |
---|
144 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
145 | - new upstream release |
---|
146 | |
---|
147 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
148 | - new upstream release |
---|
149 | - add BuildRequires: libSM-devel |
---|
150 | |
---|
151 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
152 | - initial build for Vine Linux |
---|
153 | |
---|