source: projects/specs/trunk/s/system-setup-keyboard/system-setup-keyboard-vl.spec @ 843

Revision 843, 3.7 KB checked in by daisuke, 14 years ago (diff)

xorg-x11-server:

  • add patch to import xorg.conf.d changes from upstream
    • /etc/xorg.conf.d -> /etc/X11/xorg.conf.d and /usr/share/X11/xorg.conf.d

xorg-x11-drv-{synaptics,fpit}:

  • move xorg.conf snippet to /usr/share/X11/xorg.conf.d

system-setup-keyboard:

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