Compare commits

..

9 commits

Author SHA1 Message Date
Miro Hrončok
07f174d1b1 Orphaned for 6+ weeks 2019-03-18 12:46:52 +01:00
Fedora Release Engineering
2ec869d167 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 12:53:17 +00:00
03070b7d78 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:56 +01:00
Fedora Release Engineering
9bdbbaa009 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 09:38:13 +00:00
Fedora Release Engineering
f8993c879f - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 22:10:39 +00:00
31e63175fd Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-18 22:55:50 +01:00
Fedora Release Engineering
b63cd4b085 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 22:30:14 +00:00
Fedora Release Engineering
19a25b8a50 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 18:12:14 +00:00
Fedora Release Engineering
cf84993a58 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 03:53:32 +00:00
7 changed files with 1 additions and 222 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
/xword-1.0.tar.gz

1
dead.package Normal file
View file

@ -0,0 +1 @@
Orphaned for 6+ weeks

View file

@ -1 +0,0 @@
5e1963b488dfa0aca75be3bc3af04887 xword-1.0.tar.gz

72
xword.1
View file

@ -1,72 +0,0 @@
.\" 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).

View file

@ -1,12 +0,0 @@
[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;

View file

@ -1,129 +0,0 @@
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.

View file

@ -1,7 +0,0 @@
<?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>