]>
Commit | Line | Data |
---|---|---|
c7d8a4e6 KK |
1 | Summary: Calendar for Xfce |
2 | Name: orage | |
3 | Version: 4.3.90.1 | |
4 | Release: 0.1 | |
5 | License: GPL | |
6 | Group: X11/Applications | |
7 | Source0: http://www.xfce.org/archive/xfce-4.3.90.1/src/%{name}-%{version}.tar.bz2 | |
8 | # Source0-md5: 6f3432b282cd6883b41089f80b9a38be | |
9 | Patch0: %{name}-locale-names.patch | |
10 | URL: http://www.xfce.org/ | |
11 | BuildRequires: autoconf >= 2.52 | |
12 | BuildRequires: automake | |
13 | BuildRequires: gettext-devel | |
14 | BuildRequires: glib2-devel >= 1:2.6.4 | |
15 | BuildRequires: intltool | |
16 | BuildRequires: libtool | |
17 | BuildRequires: libxfce4mcs-devel >= %{version} | |
18 | BuildRequires: libxfcegui4-devel >= %{version} | |
19 | BuildRequires: pkgconfig | |
20 | BuildRequires: xfce-mcs-manager-devel >= %{version} | |
21 | BuildRequires: xfce4-dev-tools >= %{version} | |
22 | Obsoletes: xfcalendar | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | Orage is a time-managing application that is part of the Xfce Desktop | |
27 | Environment and features a calendar window, lists of events and | |
28 | reminders. It also provides an easy way to archive and manage your old | |
29 | appointments. | |
30 | ||
31 | %prep | |
32 | %setup -q | |
33 | %patch0 -p1 | |
34 | ||
35 | mv -f po/{pt_PT,pt}.po | |
36 | mv -f po/{nb_NO,nb}.po | |
37 | ||
38 | %build | |
39 | %{__libtoolize} | |
40 | %{__aclocal} -I %{_datadir}/xfce4/dev-tools/m4macros | |
41 | %{__autoheader} | |
42 | %{__automake} | |
43 | %{__autoconf} | |
44 | %configure \ | |
45 | --disable-static | |
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
54 | rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/mcs-plugins/*.la | |
55 | ||
56 | %find_lang %{name} | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files -f %{name}.lang | |
62 | %defattr(644,root,root,755) | |
63 | %doc AUTHORS ChangeLog NEWS README | |
64 | %attr(755,root,root) %{_bindir}/* | |
65 | %attr(755,root,root) %{_libdir}/xfce4/mcs-plugins/*.so | |
66 | %{_datadir}/orage | |
67 | %{_desktopdir}/*.desktop | |
68 | %{_iconsdir}/hicolor/*/*/* |