source: projects/specs/trunk/lib/libm/libmatekbd/libmatekbd-vl.spec @ 11644

Revision 11644, 3.8 KB checked in by iwaim, 6 years ago (diff)

libmatekb 1.20.1-1

Line 
1%define major_ver 1.20
2%define ver %{major_ver}.1
3%define rel 1
4
5Summary:        MATE keyboard shared library
6Name:           libmatekbd
7Version:        %{ver}
8Release:        %{rel}%{?_dist_release}
9Source0:        http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
10License:        LGPLv2.1
11Group:          System Environment/Libraries
12URL:            http://mate-desktop.org/
13
14BuildRequires:  mate-common
15BuildRequires:  gtk3-devel >= 3.22.0
16BuildRequires:  libxklavier-devel > 5.2
17BuildRequires:  autoconf
18BuildRequires:  automake
19
20Requires(posttrans,postun):     glib2
21Requires(post,postun):  desktop-file-utils
22
23BuildRoot:      %{_tmppath}/%{name}-%{version}-root
24
25Vendor:         Project Vine
26Distribution:   Vine Linux
27Packager:       Takemikaduchi, iwaim
28
29
30%description
31MATE keyboard shared library
32
33
34%package        devel
35Summary:        Development tools for libmatekbd
36Summary(ja):    libmatekbd の開発環境
37Group:          Development/Libraries
38Requires:       %{name} = %{version}-%{release}
39Requires:       pkgconfig
40
41%description    devel
42Header files and libraries for building a extension library for the
43libmatekbd.
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
63find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
64find $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
73update-desktop-database %{_datadir}/applications >& /dev/null ||:
74
75%postun
76/sbin/ldconfig
77if [ $1 -eq 0 ]; then
78  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
79  update-desktop-database %{_datadir}/applications >& /dev/null ||:
80fi
81
82%posttrans
83glib-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* Wed Mar 28 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.1-1
104- update to 1.20.1
105
106* Tue Apr 11 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1
107- update to 1.18.2
108
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
115- new upstream release
116- fix License
117- update Packager
118
119* Sun May 22 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1
120- new upstream release
121
122* Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
123- new upstream release
124
125* Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
126- new upstream release
127
128* Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
129- new upstream release
130
131* Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
132- new upstream release
133
134* Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
135- new upstream release
136
137* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
138- rebuild with VineSeed environment
139
140* Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
141- new upstream release
142
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
147* Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
148- new upstream release
149
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
154* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
155- initial build for Vine Linux
156
Note: See TracBrowser for help on using the repository browser.