Name: cycle Version: 0.3.1 Release: 3%{?dist} Summary: Calendar program for women Group: Applications/Productivity License: GPL URL: http://cycle.sourceforge.net Source0: http://prdownloads.sourceforge.net/cycle/cycle-%{version}.tar.bz2 # the below file collects additions from the Debian package Source1: cycle-msg.tar.bz2 Source2: cycle-export.png Source3: cycle.desktop Patch: cycle-build.patch.bz2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: wxPython BuildRequires: python-devel >= 2.3, gettext,desktop-file-utils %description Cycle is a calendar for women. Given a cycle length or statistics for several periods, it can calculate the days until menstruation, the days of "safe" sex, the fertile period, and the days to ovulations, and define the d.o.b. of a child. It allows the user to write notes and helps to supervise the administration of hormonal contraceptive tablets. Multiple users allowed. Data is protected by a password for every user. NOTE: This program is not a reliable contraceptive method. It does neither help to prevent sexual transmision diseases like AIDS. It is just an electronic means of keeping track of some of your medical data and extract some statistical conclusions from them. You cannot consider this program as a substitute for your gynecologist in any way. %description -l ru_RU.UTF-8 Возможности программы: - по заданной продолжительности цикла или по набранной статистике за несколько периодов спрогнозировать дни начала менструаций - рассчитать дни "безопасного" секса, фертильный период и день овуляции - определить дату рождения ребенка - позволяет вести заметки - помогает контролировать прием противозачаточных гормональных таблеток %prep %setup0 -q %setup -D -a 1 -q %patch -p1 -b .MC-build rm README.Debian %build python setup.py build make -C msg #---- set_dir.py ---- cat >set_dir.py < 0.3.1-3 - don't gzip manpage -- rpmbuild does it automagically - category should be Application/Productivity (or non-Productivity in this case, but that's not included into RH standards :-)) - generate set_dir.py (according to the upstream .spec file) - fixed cs.po * Wed Jan 31 2007 Matěj Cepl 0.3.1-2 - fixed missing files in %%doc - fixed Description - added manpage - fixed .desktop file * Sat Jan 6 2007 Matěj Cepl 0.3.1-1 - Initial build based on Debian package cycle_0.3.1-6