Compare commits
No commits in common. "rawhide" and "f23" have entirely different histories.
7 changed files with 222 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/xword-1.0.tar.gz
|
||||
|
|
@ -1 +0,0 @@
|
|||
Orphaned for 6+ weeks
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
5e1963b488dfa0aca75be3bc3af04887 xword-1.0.tar.gz
|
||||
72
xword.1
Normal file
72
xword.1
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
.\" Hey, EMACS: -*- nroff -*-
|
||||
.\" First parameter, NAME, should be all caps
|
||||
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
.\" other parameters are allowed: see man(7), man(1)
|
||||
.TH XWORD 1 "December 3, 2007"
|
||||
.\" Please adjust this date whenever revising the manpage.
|
||||
.\"
|
||||
.\" Some roff macros, for reference:
|
||||
.\" .nh disable hyphenation
|
||||
.\" .hy enable hyphenation
|
||||
.\" .ad l left justify
|
||||
.\" .ad b justify to both left and right margins
|
||||
.\" .nf disable filling
|
||||
.\" .fi enable filling
|
||||
.\" .br insert line break
|
||||
.\" .sp <n> insert n+1 empty lines
|
||||
.\" for manpage-specific macros, see man(7)
|
||||
.SH NAME
|
||||
xword \- do crossword puzzles in the Across Lite format
|
||||
.SH SYNOPSIS
|
||||
.B xword
|
||||
.RI [ puzzlefile.puz ] ...
|
||||
.SH DESCRIPTION
|
||||
Xword is a GTK program for doing crossword puzzles. It can read and write
|
||||
puzzles in the Across Lite file format. Consequently, it works well for doing
|
||||
puzzles from The New York Times. As well as a clock, it supports printing. It
|
||||
also auto-saves puzzles as you solve them so that you can return to partially
|
||||
completed puzzles.
|
||||
.SH USAGE
|
||||
First, locate a puzzle on the web. The best place to go is the web site of The
|
||||
New York Times. However, it costs money to access these puzzles. Free puzzles
|
||||
are available from The Houston Chronicle.
|
||||
.PP
|
||||
After you have found a puzzle, click on it in your web browser. Xword will open
|
||||
the puzzle and you can start solving. You can also choose to save the puzzle on
|
||||
your hard disk. Then you can open the puzzle using Xword later.
|
||||
.PP
|
||||
After you have worked on a puzzle for a while, you may want to save your work.
|
||||
There are two ways to save. The easiest way is to close Xword without any
|
||||
further action. The next time you open the same puzzle (either by opening
|
||||
the .puz file or by clicking the same link on the web), you will be asked
|
||||
whether you want to continue where you left off. If you choose to continue, all
|
||||
your correct and incorrect answers will be saved, as well as the time on the
|
||||
clock.
|
||||
.PP
|
||||
However, this technique only works for opening the puzzle on the same computer.
|
||||
If you need to open the saved puzzle on a different computer, then you can
|
||||
choose "Save" from the "File" menu. The saved file can be opened with Xword on
|
||||
any computer. However, incorrect answers and the time on the clock will not be
|
||||
saved.
|
||||
.PP
|
||||
To print a puzzle, select "Print" from the "File" menu. You can see what the
|
||||
printed puzzle will look like by clicking "Print Preview". You can select the
|
||||
paper size and orientation by clicking on the "Paper" tab (puzzles are usually
|
||||
easier to read in landscape mode).
|
||||
.PP
|
||||
Sometimes a puzzle will be locked so that the answers are unavailable.
|
||||
Unfortunately, Xword's support for locked puzzles is somewhat flaky. When using
|
||||
a locked puzzle, you should not click on the "Check" or "Solve" buttons, since
|
||||
they will give incorrect information. However, you can still use Xword to enter
|
||||
answers for a locked puzzle. Later, when an unlocked version of the puzzle is
|
||||
released (usually the next day), open it using Xword. When asked, choose to
|
||||
continue where you left off. Now you can use the "Check" and "Solve" buttons to
|
||||
see how well you did. Sometimes crosswords will come with a four-digit code to
|
||||
unlock a locked puzzle file. This code is not needed by Xword ...
|
||||
.PP
|
||||
For more information, see the project home page at <http://x-word.org>.
|
||||
.SH AUTHOR
|
||||
xword was written by Bill McCloskey <bill.mccloskey@gmail.com>.
|
||||
.PP
|
||||
This manual page was written by John Sullivan <john@wjsullivan.net>,
|
||||
for the Debian project (but may be used by others).
|
||||
12
xword.desktop
Normal file
12
xword.desktop
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=Xword
|
||||
GenericName=Crossword Puzzles
|
||||
Comment=Do crossword puzzles in the Across Lite file format
|
||||
Exec=xword
|
||||
Icon=xword
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Game;LogicGame;
|
||||
MimeType=application/x-crossword;
|
||||
|
||||
129
xword.spec
Normal file
129
xword.spec
Normal file
|
|
@ -0,0 +1,129 @@
|
|||
Name: xword
|
||||
Version: 1.0
|
||||
Release: 8%{?dist}
|
||||
Summary: Reads and writes crossword puzzles in the Across Lite file format
|
||||
|
||||
|
||||
Group: Amusements/Games
|
||||
License: BSD
|
||||
URL: http://x-word.org/
|
||||
Source0: http://x-word.org/%{name}-%{version}.tar.gz
|
||||
Source1: %{name}.desktop
|
||||
Source2: %{name}.xml
|
||||
Source3: %{name}.1
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
Requires: pygtk2
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Xword is a GTK program that works well for doing crossword puzzles in the
|
||||
Across Lite file format used by The New York Times and others. As well as a
|
||||
clock, it supports printing. It also auto-saves puzzles as you solve them so
|
||||
that you can return to partially completed puzzles.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
sed -i -e "s|HOME_PATH = os\.path\.dirname(sys\.argv\[0\])|HOME_PATH = '%{_datadir}/%{name}-%{version}'|g" xword
|
||||
|
||||
|
||||
%build
|
||||
#nothing to build
|
||||
|
||||
|
||||
|
||||
%install
|
||||
|
||||
install -d $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
|
||||
install -d $RPM_BUILD_ROOT%{_bindir}/
|
||||
install -d $RPM_BUILD_ROOT%{_mandir}/man1/
|
||||
|
||||
install -p -m 755 xword $RPM_BUILD_ROOT%{_bindir}/
|
||||
|
||||
install -p -m 644 layout-rtb.png $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
|
||||
install -p -m 644 crossword-solve.png $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
|
||||
install -p -m 644 crossword-clock.png $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
|
||||
install -p -m 644 crossword-check.png $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
|
||||
install -p -m 644 crossword-check-all.png $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
|
||||
|
||||
|
||||
#man page
|
||||
install -p -m 644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man1
|
||||
|
||||
#icon install
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/24x24/apps
|
||||
cp -p crossword-solve.png \
|
||||
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/24x24/apps/xword.png
|
||||
|
||||
|
||||
|
||||
#desktop file
|
||||
desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications %SOURCE1
|
||||
|
||||
#mime file
|
||||
install -d $RPM_BUILD_ROOT%{_datadir}/mime/packages
|
||||
install -p -m 644 %SOURCE2 $RPM_BUILD_ROOT%{_datadir}/mime/packages/
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
|
||||
update-desktop-database &> /dev/null || :
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ] ; then
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null
|
||||
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
|
||||
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
||||
fi
|
||||
update-desktop-database &> /dev/null || :
|
||||
|
||||
%posttrans
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
||||
|
||||
%files
|
||||
%doc LICENSE
|
||||
%{_datadir}/%{name}-%{version}
|
||||
%{_datadir}/icons/hicolor/24x24/apps/xword.png
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_bindir}/*
|
||||
%{_datadir}/mime/packages/*.xml
|
||||
%{_mandir}/man1/*
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jul 07 2015 Yaakov Selkowitz <yselkowi@redhat.com> - 1.0-8
|
||||
- Drop optional gnomeprint dependency due to removal of libgnomeprint
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Thu Oct 02 2014 Rex Dieter <rdieter@fedoraproject.org> 1.0-6
|
||||
- update desktop/icon/mime scriptlets, remove empty %%clean section
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Wed Oct 31 2012 Ankur Sinha <ankursinha AT fedoraproject DOT org> 1.0-2
|
||||
- Update as per review #871629
|
||||
|
||||
* Mon Oct 29 2012 Ankur Sinha <ankursinha AT fedoraproject DOT org> 1.0-1
|
||||
- Initial rpm spec based on Alex's spec at rhbz# 470155
|
||||
- Compressed Alex's changelog below
|
||||
- Addressed the comments in the review by Mamoru Tasaka
|
||||
<mtasaka ioa.s.u-tokyo.ac.jp>. Warning on python 2.6 will
|
||||
be addressed later.
|
||||
- Added LICENSE to %%doc
|
||||
- Fix a silly error involving $RPM_BUILD_ROOT.
|
||||
- Initial import.
|
||||
7
xword.xml
Normal file
7
xword.xml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||
<mime-type type="application/x-crossword">
|
||||
<comment>Crossword puzzle</comment>
|
||||
<glob pattern="*.puz"/>
|
||||
</mime-type>
|
||||
</mime-info>
|
||||
Loading…
Add table
Add a link
Reference in a new issue