source: projects/specs/trunk/x/xkeycaps/xkeycaps-vl.spec @ 9291

Revision 9291, 3.2 KB checked in by Takemikaduchi, 9 years ago (diff)

libdbi-drivers,goffice08,guile18: NEW package
geda-gaf,missile,rrdtool,trackballs,trackballs-music,ulogd,xkeycaps,xorg-x11-jpfonts: rebuild
others: new upstream release

Line 
1Name:           xkeycaps
2Summary:        Graphical front end to xmodmap
3Summary(ja):    xmodmap のグラフィカルフロントエンド
4Version:        2.46
5Release:        5%{?_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 Jan 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.46-5
63- rebuild with VineSeed environment
64
65* Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 2.46-4
66- rebuilt with rpm-4.8.1-3
67
68* Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.46-3
69- rebuild with libXaw.so.7 (libXaw-1.0.5)
70
71* Wed Jul 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.46-2
72- remove vendor prefix from desktop file.
73
74* Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> Version: 2.46-1
75- initial build for Vine Linux
76
77* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.46-7.3
78- Autorebuild for GCC 4.3
79
80* Mon Aug 27 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-6.2
81- rebuild for BuildID
82
83* Mon Aug  6 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-6.1
84- license cleanup
85
86* Tue Apr 10 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-6
87- fix bugzilla 227229
88
89* Mon Sep 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-5
90- license isn't BSD-ish, its BSD
91- bump for FC-6
92
93* Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-4
94- bump for FC-5
95
96* Mon Jan 16 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-3
97- fix FC-3/FC-4
98
99* Mon Jan 16 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-2
100- add missing BR
101- fix missing desktop file
102
103* Thu Dec 15 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.46-1
104- Initial package for Fedora Extras
Note: See TracBrowser for help on using the repository browser.