Group :: Office
RPM: ical
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define major 2.3
Name: ical
Version: 2.3.3
Release: alt1
Summary: An X Window System-based calendar program
License: BSD-Style
Group: Office
Url: http://www.annexia.org/freeware/ical/
Source: %name-%version-%release.tar
BuildRequires: gcc-c++ libstdc++-devel tk-devel >= 8.5.0 libXScrnSaver-devel
Requires: tk >= 8.5.0
%description
Ical is an X Window System based calendar program. Ical will easily
create/edit/delete entries, create repeating entries, remind you about
upcoming appointments, print and list item occurrences, and allow
shared calendars between different users.
%prep
%setup
%build
%__autoreconf
%configure --with-tclconfig=%_libdir
%__make OPTF="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
%install
%makeinstall \
MKDIR="mkdir -p" \
ILIBDIR=%buildroot%_datadir/%name/v%major \
MANDIR=%buildroot/%_mandir
install -pm0644 -D %name.desktop %buildroot%_desktopdir/%name.desktop
find icons -type f|cpio -pmd %buildroot%_datadir
rm -rf %buildroot%_datadir/%name/v%major/contrib
rm -f contrib/ical.spec
%post
%update_menus
%postun
%clean_menus
%files
%doc doc/ical.html doc/ical.doc doc/interface.html doc/interface.doc
%doc contrib
%_bindir/%name-%major
%_bindir/%name
%_datadir/%name
%_iconsdir/%name.xpm
%_iconsdir/*/%name.xpm
%_desktopdir/%name.desktop
%_mandir/man1/%name.1*
%changelog
…
Full changelog you can see here
Name: ical
Version: 2.3.3
Release: alt1
Summary: An X Window System-based calendar program
License: BSD-Style
Group: Office
Url: http://www.annexia.org/freeware/ical/
Source: %name-%version-%release.tar
BuildRequires: gcc-c++ libstdc++-devel tk-devel >= 8.5.0 libXScrnSaver-devel
Requires: tk >= 8.5.0
%description
Ical is an X Window System based calendar program. Ical will easily
create/edit/delete entries, create repeating entries, remind you about
upcoming appointments, print and list item occurrences, and allow
shared calendars between different users.
%prep
%setup
%build
%__autoreconf
%configure --with-tclconfig=%_libdir
%__make OPTF="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
%install
%makeinstall \
MKDIR="mkdir -p" \
ILIBDIR=%buildroot%_datadir/%name/v%major \
MANDIR=%buildroot/%_mandir
install -pm0644 -D %name.desktop %buildroot%_desktopdir/%name.desktop
find icons -type f|cpio -pmd %buildroot%_datadir
rm -rf %buildroot%_datadir/%name/v%major/contrib
rm -f contrib/ical.spec
%post
%update_menus
%postun
%clean_menus
%files
%doc doc/ical.html doc/ical.doc doc/interface.html doc/interface.doc
%doc contrib
%_bindir/%name-%major
%_bindir/%name
%_datadir/%name
%_iconsdir/%name.xpm
%_iconsdir/*/%name.xpm
%_desktopdir/%name.desktop
%_mandir/man1/%name.1*
%changelog
…
Full changelog you can see here