rpms/dayplanner/F-8 dayplanner.spec, NONE, 1.1 holiday_japan, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Krzysztof Kurzawski (kurzawa) fedora-extras-commits at redhat.com
Thu Mar 6 14:29:28 UTC 2008


Author: kurzawa

Update of /cvs/pkgs/rpms/dayplanner/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32165/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	dayplanner.spec holiday_japan 
Log Message:
import dayplanner 0.8.1


--- NEW FILE dayplanner.spec ---
%define include_holidayparser  0
%{?_with_holidayparser: %{expand: %%global include_holidayparser 1}}

Name:           dayplanner
Version:        0.8.1
Release:        3%{?dist}
Summary:        An easy and clean Day Planner
Summary(pl):    Prosty i elegancki organizer
Group:          Applications/Productivity
License:        GPLv3+
URL:            http://www.day-planner.org/
Source0:        http://download.gna.org/dayplanner/%{name}-%{version}.tar.bz2
Source1:        holiday_japan
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  gettext desktop-file-utils perl
Requires:       hicolor-icon-theme

%description
Day Planner is a simple time management program.

Day Planner is designed to help you easily manage your time.
It can manage appointments, birthdays and more. It makes sure you
remember your appointments by popping up a dialog box reminding you about it.

%description -l pl
Day Planner is a prosty program do zarzÄ…dzania czasem.

Day Planner jest zaprojektowany aby pomóc Tobie łatwo zarządzać Twoim czasem.
Może zarządzać spotkaniami, urodzinami i innymi. Możesz być pewnym że będziesz
pamiętał o spotkaniach przez wyskakujące okna dialogowe przypominające o nich.

%prep
%setup -q

# Desktop file
cat > %{name}.desktop << EOF
[Desktop Entry]
Name=Day Planner
GenericName=Day Planner
Comment=An easy and clean Day Planner
Comment[pl_PL]=Prosty i elegancki organizer
Exec=dayplanner
Icon=dayplanner
Terminal=false
Type=Application
Categories=Office;
GenericName[pl_PL]=Day Planner
EOF

%build
# nothing to build

%install
rm -rf $RPM_BUILD_ROOT

%if include_holidayparser
make install DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} DHPinstall
%else
make install DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix}
%endif

# Install hicolor icons
for size in 16 24 32 48; do
  mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${size}x${size}/apps
  install -m 644 -p art/%{name}-${size}x${size}.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${size}x${size}/apps/%{name}.png
done

rm -f $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
rm -f $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.png

# Install desktop file
desktop-file-install --vendor="fedora"               \
  --dir=$RPM_BUILD_ROOT%{_datadir}/applications         \
  %{name}.desktop

# Install holiday
cp -pf %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/%{name}/holiday

# Chmod
find $RPM_BUILD_ROOT%{_datadir}/%{name} -name \*.pm -exec chmod 0644 {} \;

# Find the localization
%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

%files -f dayplanner.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS THANKS TODO ./doc/*
%{_bindir}/%{name}
%{_bindir}/%{name}-daemon
%{_bindir}/%{name}-notifier
%{_datadir}/%{name}
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/icons/hicolor/*x*/apps/%{name}.png

%changelog
* Tue Mar 04 2008 Krzysztof Kurzawski <kurzawax at gmail.com> - 0.8.1-3
- Correct install section
- Fix holiday_japan
- Correct BR-s

* Mon Mar 03 2008 Krzysztof Kurzawski <kurzawax at gmail.com> - 0.8.1-2
- Correct install section
- Add holiday_japan

* Tue Feb 19 2008 Krzysztof Kurzawski <kurzawax at gmail.com> - 0.8.1-1
- First release


--- NEW FILE holiday_japan ---
:
: Japanese holiday file. Copy to ~/.holiday
: compiler: Ogura Yoshito <ogura at ndc.ngsk.sony.co.jp>
:
: Last modified: Mar 4, 2008
: by Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp>
:
:
small "New Year's Day" weekend on 1/1
small "Adults Day" weekend on second monday in january
small "National Foundation Day" weekend on 2/11
small "Day of Showa" weekend on 4/29
small "Constitution Day" weekend on 5/3
small "Greenery Day" weekend on 5/4
small "Children's Day" weekend on 5/5
small "Oceans' Day" weekend on third monday in july
small "Respect for the Aged" weekend on third monday in september
small "Physical Culture Day" weekend on second monday in october
small "Culture Day" weekend on 11/3
small "Labor Day" weekend on 11/23
small "Emperor's Birthday" weekend on 12/23
:
: Notes from Mamoru Tasaka
: Japan sets Vernal Equinox Day and Autumnal Equinox Day as
: holidays, which change every year!
: What days become these holidays is usually announced by NAOJ
: (National Astronomy Observatory of Japan) on Febrary 1st
: of the year before. To check this, please refer to
: http://www.nao.ac.jp/QA/faq/a0301.html
:
small "Vernal Equinox Day" weekend on 3/20
small "Autumnal Equinox Day" weekend on 9/23
:
small "St. Valentine's Day" on february 14
small "Girls' Festival" on march 3
small "Buddha's Birthday" on april 8
small "May Day" on may 1
small "Boys' Festival" on may 5
small "Mother's Day" on second sunday in may
small "Father's Day" on third sunday in june
small "Festival of the Weaver Star" on july 7
small "Christmas" on december 25


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/dayplanner/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 Mar 2008 17:03:19 -0000	1.1
+++ .cvsignore	6 Mar 2008 14:28:55 -0000	1.2
@@ -0,0 +1 @@
+dayplanner-0.8.1.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/dayplanner/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Mar 2008 17:03:19 -0000	1.1
+++ sources	6 Mar 2008 14:28:55 -0000	1.2
@@ -0,0 +1 @@
+64d0fe546906fd99482a741cf5dce747  dayplanner-0.8.1.tar.bz2




More information about the fedora-extras-commits mailing list