source: projects/specs/trunk/lib/libg/libgnomekbd/libgnomekbd-vl.spec @ 12005

Revision 12005, 5.5 KB checked in by tomop, 5 years ago (diff)

Merge branch 'tomop'

Line 
1Summary:        A keyboard configuration library
2Summary(ja):    キーボード設定ライブラリ
3Name:           libgnomekbd
4Version:        3.26.0
5Release:        1%{?_dist_release}
6Group:          System Environment/Libraries
7License:        LGPL
8URL:            http://gswitchit.sourceforce.net
9Source0:        http://ftp.gnome.org/pub/gnome/sources/libgnomekbd/3.6/libgnomekbd-%{version}.tar.xz
10
11BuildRoot:      %{_tmppath}/%{name}-%{version}-root
12
13BuildRequires:  gtk3-devel >= 2.91.7
14BuildRequires:  libxklavier-devel >= 5.0
15BuildRequires:  libSM-devel
16BuildRequires:  desktop-file-utils
17BuildRequires:  perl(XML::Parser)
18BuildRequires:  gettext
19BuildRequires:  intltool
20
21Requires(pre): glib2
22Requires(post): glib2
23Requires(preun): glib2
24
25Vendor: Project Vine
26Distribution: Vine Linux
27
28%description
29The libgnomekbd package contains a GNOME library which manages
30keyboard configuration and offers various widgets related to
31keyboard configuration.
32
33
34%package        devel
35Summary:        Development files for %{name}
36Group:          Development/Libraries
37Requires:       %{name} = %{version}-%{release}
38Requires:       libxklavier-devel >= 5.0
39Requires:       pkgconfig
40
41%description    devel
42The libgnomekbd-devel package contains libraries and header files for
43developing applications that use libgnomekbd.
44
45
46%prep
47%setup -q
48
49%build
50%configure --disable-static --enable-compile-warnings=no
51%__make %{?_smp_mflags}
52
53
54%install
55rm -rf $RPM_BUILD_ROOT
56make install DESTDIR=$RPM_BUILD_ROOT
57find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
58
59%find_lang %{name}
60
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%post
66/sbin/ldconfig
67touch --no-create %{_datadir}/icons/hicolor || :
68if [ -x %{_bindir}/gtk-update-icon-cache ]; then
69  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
70fi
71update-desktop-database &> /dev/null ||:
72
73%posttrans
74gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
75%{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
76
77
78%postun
79/sbin/ldconfig
80touch --no-create %{_datadir}/icons/hicolor || :
81if [ -x %{_bindir}/gtk-update-icon-cache ]; then
82  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
83fi
84%{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
85
86
87%files -f %{name}.lang
88%defattr(-,root,root,-)
89%doc AUTHORS COPYING.LIB
90%{_bindir}/gkbd-keyboard-display
91%{_libdir}/*.so.*
92%{_libdir}/girepository-1.0/Gkbd-3.0.typelib
93%{_datadir}/applications/gkbd-keyboard-display.desktop
94%{_datadir}/glib-2.0/schemas/*.xml
95%{_datadir}/libgnomekbd/ui/*
96%{_datadir}/libgnomekbd/icons/*.svg
97%{_datadir}/GConf/gsettings/libgnomekbd.convert
98
99%files devel
100%defattr(-,root,root,-)
101%{_includedir}/libgnomekbd/*
102%{_libdir}/*.so
103%{_libdir}/pkgconfig/libgnomekbd.pc
104%{_libdir}/pkgconfig/libgnomekbdui.pc
105%{_datadir}/gir-1.0/Gkbd-3.0.gir
106
107
108%changelog
109* Sat Dec 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.26.0-1
110- new upstream release.
111
112* Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-2
113- rebuild with VineSeed environment
114
115* Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
116- new upstream release
117
118* Sun Apr 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0.2-1
119- new upstream release
120
121* Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
122- new upstream release
123- add BuildRequires: libSM-devel
124
125* Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
126- new upstream release
127
128* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1
129- new upstream release
130- change BuildRequires: gtk3-devel instead of gtk2-devel
131
132* Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
133- new upstream release
134- remove BuildRequires: libgnomeui-devel
135
136* Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2
137- rebuild with rpm-4.8.1 for pkg-config file
138
139* Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
140- new upstream release
141
142* Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
143- new upstream release
144- drop Patch1
145
146* Sat Apr 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.30.0-2
147- remove old Patches
148- add Patch1 to fix invalid default value in schema
149  https://bugzilla.gnome.org/show_bug.cgi?id=615077
150
151* Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
152- new upstream release
153- fix BuildRequires: libxklavier-devel >= 5.0
154
155* Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
156- new upstream release
157
158* Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
159- new upstream release
160- remove BR: libglade2-devel
161
162* Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
163- new upstream release
164
165* Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
166- new upstream release
167
168* Sun Mar 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
169- new upstream release
170
171* Thu Dec 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.0-0vl1
172- new upstream release
173
174* Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1
175- initial build for Vine Linux
176
177* Tue Mar 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.0-1
178- Update to 2.18.0
179
180* Wed Jan 24 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.2-2
181- Port former control-center patches to improve keyboard drawing
182
183* Tue Nov  7 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.2-1
184- Update to 2.17.2
185
186* Tue Nov  7 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-4
187- Fix up Requires
188
189* Thu Nov  2 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-3
190- Don't use --Werror
191
192* Sat Oct 28 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-2
193- Fix a memory allocation error
194
195* Sat Oct 28 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-1
196- Initial release
Note: See TracBrowser for help on using the repository browser.