source: projects/specs/trunk/g/gnome-calendar/gnome-calendar-vl.spec @ 11449

Revision 11449, 2.8 KB checked in by tomop, 5 years ago (diff)

gnome-calendar-3.20.4-1

Line 
1Summary:        Calendar application for GNOME
2Summary(ja):    GNOME 用カレンダーアプリケーション
3Name:           gnome-calendar
4Version:        3.20.4
5Release:        1%{?_dist_release}
6License:        GPLv3
7Group:          User Interface/Desktops
8URL:            https://wiki.gnome.org/Design/Apps/Calendar
9
10Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.20/%{name}-%{version}.tar.xz
11
12Patch1000:      gcal-libical3.patch
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15
16BuildRequires:  gtk3-devel
17BuildRequires:  evolution-data-server-devel
18BuildRequires:  libical-devel
19BuildRequires:  gnome-online-accounts-devel
20
21Requires(postun,posttrans):     desktop-file-utils
22Requires(postun,posttrans):     glib2
23Requires: gnome-shell
24
25Vendor:         Project Vine
26Distribution:   Vine Linux
27Packager:       Takemikaduchi
28
29
30%description
31Calendar is a calendar application for GNOME.
32
33%description -l ja
34gnome-calendar は GNOME 用カレンダーアプリケーションです。
35
36
37%prep
38%setup -q
39%patch1000 -p1 -b .libical3
40
41%build
42%configure --disable-static
43
44make %{?_smp_mflags}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install DESTDIR=${RPM_BUILD_ROOT}
50
51find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
52
53rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
54
55%find_lang %{name} --with-gnome
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%post
61touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
62
63%postun
64if [ $1 -eq 0 ]; then
65  touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
66  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
67  update-desktop-database -q &> /dev/null ||:
68  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
69fi
70
71%posttrans
72gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
73update-desktop-database -q &> /dev/null ||:
74glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
75
76
77%files -f %{name}.lang
78%defattr(-,root,root,-)
79%doc COPYING README NEWS
80%{_bindir}/%{name}
81%{_datadir}/appdata/org.gnome.Calendar.appdata.xml
82%{_datadir}/applications/org.gnome.Calendar.desktop
83%{_datadir}/dbus-1/services/org.gnome.Calendar.service
84%{_datadir}/glib-2.0/schemas/org.gnome.calendar.enums.xml
85%{_datadir}/glib-2.0/schemas/org.gnome.calendar.gschema.xml
86%{_datadir}/gnome-shell/search-providers/org.gnome.Calendar.search-provider.ini
87%{_datadir}/icons/*/*/*/*
88
89
90%changelog
91* Sat Jan 27 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.20.4-1
92- new upstream release.
93
94* Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.2-1
95- new upstream release
96
97* Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
98- new upstream release
99- add BuildRequires: gnome-online-accounts-devel
100
101* Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
102- new upstream release
103
104* Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
105- new upstream release
106
107* Wed Apr 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
108- initial build
109
Note: See TracBrowser for help on using the repository browser.