[9478] | 1 | Summary: Calendar application for GNOME |
---|
| 2 | Summary(ja): GNOME 用カレンダーアプリケーション |
---|
| 3 | Name: gnome-calendar |
---|
| 4 | Version: 3.16.0 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: GPLv3 |
---|
| 7 | Group: User Interface/Desktops |
---|
| 8 | URL: https://wiki.gnome.org/Design/Apps/Calendar |
---|
| 9 | |
---|
| 10 | Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.16/%{name}-%{version}.tar.xz |
---|
| 11 | |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | |
---|
| 14 | BuildRequires: gtk3-devel |
---|
| 15 | BuildRequires: evolution-data-server-devel |
---|
| 16 | BuildRequires: libical-devel |
---|
| 17 | |
---|
| 18 | Requires(postun,posttrans): desktop-file-utils |
---|
| 19 | Requires(postun,posttrans): glib2 |
---|
| 20 | Requires: gnome-shell |
---|
| 21 | |
---|
| 22 | Vendor: Project Vine |
---|
| 23 | Distribution: Vine Linux |
---|
| 24 | Packager: Takemikaduchi |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | %description |
---|
| 28 | Calendar is a calendar application for GNOME. |
---|
| 29 | |
---|
| 30 | %description -l ja |
---|
| 31 | gnome-calendar は GNOME 用カレンダーアプリケーションです。 |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %prep |
---|
| 35 | %setup -q |
---|
| 36 | |
---|
| 37 | %build |
---|
| 38 | %configure --disable-static |
---|
| 39 | |
---|
| 40 | make %{?_smp_mflags} |
---|
| 41 | |
---|
| 42 | %install |
---|
| 43 | rm -rf $RPM_BUILD_ROOT |
---|
| 44 | |
---|
| 45 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 46 | |
---|
| 47 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 48 | |
---|
| 49 | rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} |
---|
| 50 | |
---|
| 51 | %find_lang %{name} --with-gnome |
---|
| 52 | |
---|
| 53 | %clean |
---|
| 54 | rm -rf $RPM_BUILD_ROOT |
---|
| 55 | |
---|
| 56 | %post |
---|
| 57 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 58 | |
---|
| 59 | %postun |
---|
| 60 | if [ $1 -eq 0 ]; then |
---|
| 61 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 62 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 63 | update-desktop-database -q &> /dev/null ||: |
---|
| 64 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 65 | fi |
---|
| 66 | |
---|
| 67 | %posttrans |
---|
| 68 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 69 | update-desktop-database -q &> /dev/null ||: |
---|
| 70 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | %files -f %{name}.lang |
---|
| 74 | %defattr(-,root,root,-) |
---|
| 75 | %doc COPYING README NEWS |
---|
| 76 | %{_bindir}/%{name} |
---|
| 77 | %{_datadir}/appdata/org.gnome.Calendar.appdata.xml |
---|
| 78 | %{_datadir}/applications/org.gnome.Calendar.desktop |
---|
| 79 | %{_datadir}/dbus-1/services/org.gnome.Calendar.service |
---|
| 80 | %{_datadir}/glib-2.0/schemas/org.gnome.calendar.enums.xml |
---|
| 81 | %{_datadir}/glib-2.0/schemas/org.gnome.calendar.gschema.xml |
---|
| 82 | %{_datadir}/gnome-shell/search-providers/org.gnome.Calendar.search-provider.ini |
---|
| 83 | %{_datadir}/icons/*/*/*/* |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | %changelog |
---|
| 87 | * Wed Apr 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
| 88 | - initial build |
---|
| 89 | |
---|