: 5 2022 | : 17717 | : 25062126
en ru br
5.1: 0.3.1-alt5
4.1: 0.3.1-alt4
4.0: 0.3.1-alt3

:: /
: wmbday

             Sources      Gear   Bugs and FR  Repocop 

# Unpackaged files in buildroot should terminate build
%define _unpackaged_files_terminate_build 1

Name: wmbday
Version: 0.3.1
Release: alt7

Summary: This dockapp will remind you of birthdays

License: GPL-2
Group: Graphical desktop/Other
Packager: Slava Semushin <php-coder at>


Patch0: %name-0.3.1-alt-warnings-x86_64.patch
Patch1: %name-0.3.1-alt-autotools-support.patch
Patch2: %name-0.3.1-alt-man-kill_x11_path.patch
Patch3: %name-0.3.1-alt-doc-update_my_email.patch
Patch4: %name-0.3.1-fix-build-with-gcc10.patch

BuildRequires: libXext-devel libXpm-devel

Requires: xmessage

wmbday is a Window Maker dockapp for Linux und FreeBSD that will
remind you of birthdays. It can show up to four names of persons whose
birthday is next. On a particular birthday it will notify you by
highlighting the concerning person. The data is loaded either from a
simple text file or from a vCard file.

%description -l ru_RU.CP1251
wmbday Window Maker Linux FreeBSD,
. ,
vCard .


# fix modifier for size_t type


# add autotools support

%patch1 -p1

# change path to rgb.txt in man page


# update my email in ChangeLog


%patch4 -p2

rm -f BSDmakefile configure Makefile
chmod -x *.[ch] wmbday.1 wmbday_text.xpm

mv build/wmbday-0.3.1.ebuild build/wmbday.ebuild
mv *.[ch] *.xpm src/
mv data.sample* data/
mv wmbday.1 doc/

autoheader &&
aclocal &&
automake --foreign --add-missing &&

export ac_cv_path_XM_PATH=/usr/bin/xmessage
%make_build CFLAGS="%optflags -Werror -U_FORTIFY_SOURCE" --silent --no-print-directory

%make_install DESTDIR=%buildroot install --silent --no-print-directory
install -pD -m 644 %SOURCE1 %buildroot%_menudir/%name

%doc ChangeLog data/data.sample.simple data/data.sample.vcard



: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
: Michael Shigorin