1 | Name: system-setup-keyboard |
---|
2 | Version: 0.8.2 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: xorg.conf keyboard layout callout |
---|
5 | |
---|
6 | Group: Applications/System |
---|
7 | License: MIT |
---|
8 | URL: http://git.fedorahosted.org/git/system-setup-keyboard.git/ |
---|
9 | Source0: https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.bz2 |
---|
10 | Source10: system-setup-keyboard.init |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
12 | |
---|
13 | BuildRequires: glib2-devel |
---|
14 | BuildRequires: system-config-keyboard >= 1.3.1 |
---|
15 | |
---|
16 | Requires: xorg-x11-server-Xorg |
---|
17 | #Requires: upstart |
---|
18 | Conflicts: xorg-x11-server-Xorg < 1.6.0 |
---|
19 | |
---|
20 | %description |
---|
21 | %{name} gets invoked by hal to apply the keyboard layout |
---|
22 | defined in /etc/sysconfig/keyboard. |
---|
23 | |
---|
24 | %prep |
---|
25 | %setup -q |
---|
26 | |
---|
27 | %build |
---|
28 | make CFLAGS="%{optflags}" %{?_smp_mflags} |
---|
29 | |
---|
30 | |
---|
31 | %install |
---|
32 | rm -rf $RPM_BUILD_ROOT |
---|
33 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
34 | install -D -m775 %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/%{name} |
---|
35 | |
---|
36 | |
---|
37 | %clean |
---|
38 | rm -rf $RPM_BUILD_ROOT |
---|
39 | |
---|
40 | |
---|
41 | %post |
---|
42 | if [ "$1" == "1" ]; then |
---|
43 | /sbin/chkconfig --add %{name} |
---|
44 | fi |
---|
45 | |
---|
46 | %preun |
---|
47 | if [ $1 -eq 0 ]; then |
---|
48 | /sbin/service %{name} stop >/dev/null 2>&1 |
---|
49 | /sbin/chkconfig --del %{name} |
---|
50 | fi |
---|
51 | |
---|
52 | %files |
---|
53 | %defattr(-,root,root,-) |
---|
54 | %doc COPYING |
---|
55 | %{_bindir}/%{name} |
---|
56 | %{_sysconfdir}/init/%{name}.conf |
---|
57 | %{_sysconfdir}/rc.d/init.d/%{name} |
---|
58 | |
---|
59 | |
---|
60 | |
---|
61 | %changelog |
---|
62 | * Tue Mar 16 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-2 |
---|
63 | - add initscripts |
---|
64 | |
---|
65 | * Fri Mar 12 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-1 |
---|
66 | - initial build for Vine Linux |
---|
67 | |
---|
68 | * Sat Feb 27 2010 Adel Gadllah <adel.gadllah@gmail.com> 0.8.2-1 |
---|
69 | - 0.8.2 release |
---|
70 | - Actually install the upstart config file |
---|
71 | |
---|
72 | * Thu Feb 18 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.8.1-1 |
---|
73 | - 0.8.1 release (makefile fixes) |
---|
74 | |
---|
75 | * Tue Feb 16 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.8-1 |
---|
76 | - 0.8 release (xorg.conf.d support) |
---|
77 | - drop HAL requires. |
---|
78 | |
---|
79 | * Tue Feb 09 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.7-1 |
---|
80 | - Rename to system-setup-keyboard, update the URL and Source0 accordingly. |
---|
81 | Obsoletes fedora-setup-keyboard. |
---|
82 | |
---|
83 | * Sat Dec 26 2009 Adel Gadllah <adel.gadllah@gmail.com> 0.6-1 |
---|
84 | - 0.6 release |
---|
85 | - Fixes RH #545970 |
---|
86 | |
---|
87 | * Fri Nov 20 2009 Adel Gadllah <adel.gadllah@gmail.com> 0.5-1 |
---|
88 | - Patch merged upstream |
---|
89 | |
---|
90 | * Fri Nov 20 2009 Peter Hutterer <peter.hutterer@redhat.com> 0.4-4 |
---|
91 | - rhpl was replaced by system-config-keyboard. |
---|
92 | |
---|
93 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-3 |
---|
94 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
95 | |
---|
96 | * Wed May 27 2009 Adel Gadllah <adel.gadllah@gmail.com> 0.4-2 |
---|
97 | - Rebuild to pick up rhpl changes |
---|
98 | |
---|
99 | * Mon Apr 13 2009 Adel Gadllah <adel.gadllah@gmail.com> 0.4-1 |
---|
100 | - 0.4 release |
---|
101 | - Dropped patch, merged upstream |
---|
102 | |
---|
103 | * Thu Apr 09 2009 Peter Hutterer <peter.hutterer@redhat.com> 0.3-4 |
---|
104 | - fedora-setup-keyboard-0.3-merge-terminate.patch: merge xkb options for |
---|
105 | termination. |
---|
106 | |
---|
107 | * Thu Mar 05 2009 Peter Hutterer <peter.hutterer@redhat.com> 0.3-3 |
---|
108 | - Conflict xorg-x11-server-Xorg < 1.6.0-7 (10-x11-keymap.fdi and |
---|
109 | fedora-setup-keyboard up to 1.6.0-5) |
---|
110 | |
---|
111 | * Mon Mar 02 2009 Adel Gadllah <adel.gadllah@gmail.com> 0.3-2 |
---|
112 | - Fix license tag |
---|
113 | |
---|
114 | * Wed Feb 25 2009 Adel Gadllah <adel.gadllah@gmail.com> 0.3-1 |
---|
115 | - 0.3 release |
---|
116 | - Require hal |
---|
117 | |
---|
118 | * Sat Feb 21 2009 Adel Gadllah <adel.gadllah@gmail.com> 0.2-1 |
---|
119 | - Initial package |
---|