source: projects/specs/branches/6/x/xkeycaps/xkeycaps-vl.spec @ 3528

Revision 3528, 3.1 KB checked in by owa, 13 years ago (diff)

rebuilt

Line 
1Name:           xkeycaps
2Summary:        Graphical front end to xmodmap
3Summary(ja):    xmodmap のグラフィカルフロントエンド
4Version:        2.46
5Release:        4%{?_dist_release}
6License:        MIT
7Group:          Applications/System
8Source0:        http://www.jwz.org/xkeycaps/%{name}-%{version}.tar.Z
9Source1:        xkeycaps.desktop
10Source2:        xkeycaps.png
11URL:            http://www.jwz.org/xkeycaps/
12BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
13BuildRequires:  xorg-x11-xbitmaps, libICE-devel, libXmu-devel, libSM-devel
14BuildRequires:  libXaw-devel >= 1.0.5
15BuildRequires:  imake, libXt-devel, xorg-x11-proto-devel
16BuildRequires:  desktop-file-utils, libXext-devel
17Requires:       xorg-x11-server-utils
18
19%description
20xkeycaps is a graphical front-end to xmodmap. It opens a window that
21looks like a keyboard; moving the mouse over a key shows what KeySyms
22and Modifier bits that key generates. Clicking on a key simulates
23KeyPress/KeyRelease events on the window of your choice. It is possible
24to change the KeySyms and Modifiers generated by a key through a
25mouse-based interface. This program can also write an input file for
26xmodmap to recreate your changes in future sessions.
27
28%prep
29%setup -q
30
31%build
32xmkmf
33sed -i -e 's/^\(\s*CFLAGS\s*=.*\)/\1 $(RPM_OPT_FLAGS)/' Makefile
34make
35
36%install
37rm -rf $RPM_BUILD_ROOT
38make DESTDIR=$RPM_BUILD_ROOT install
39mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
40install -m0644 xkeycaps.man $RPM_BUILD_ROOT%{_mandir}/man1
41mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
42mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
43install -m0644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
44
45desktop-file-install \
46        --vendor "" \
47        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
48        %{SOURCE1}
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(-,root,root)
55%doc README sgi-microsoft.txt
56%{_bindir}/xkeycaps
57%{_datadir}/applications/xkeycaps.desktop
58%{_datadir}/pixmaps/xkeycaps.png
59%{_mandir}/man1/*
60
61%changelog
62* Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 2.46-4
63- rebuilt with rpm-4.8.1-3
64
65* Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.46-3
66- rebuild with libXaw.so.7 (libXaw-1.0.5)
67
68* Wed Jul 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.46-2
69- remove vendor prefix from desktop file.
70
71* Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> Version: 2.46-1
72- initial build for Vine Linux
73
74* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.46-7.3
75- Autorebuild for GCC 4.3
76
77* Mon Aug 27 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-6.2
78- rebuild for BuildID
79
80* Mon Aug  6 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-6.1
81- license cleanup
82
83* Tue Apr 10 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-6
84- fix bugzilla 227229
85
86* Mon Sep 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-5
87- license isn't BSD-ish, its BSD
88- bump for FC-6
89
90* Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-4
91- bump for FC-5
92
93* Mon Jan 16 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-3
94- fix FC-3/FC-4
95
96* Mon Jan 16 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-2
97- add missing BR
98- fix missing desktop file
99
100* Thu Dec 15 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-1
101- Initial package for Fedora Extras
Note: See TracBrowser for help on using the repository browser.