]>
Commit | Line | Data |
---|---|---|
a05d87fa | 1 | Summary: Tiny GNOME datebook application |
48e4e614 | 2 | Summary(pl.UTF-8): Mała aplikacja kalendarza dla GNOME |
0433ac1c | 3 | Name: dates |
7887b5a8 | 4 | Version: 0.4.3 |
0433ac1c | 5 | Release: 1 |
6 | License: GPL | |
7 | Group: Applications/Communications | |
8 | Source0: http://pimlico-project.org/sources/dates/%{name}-%{version}.tar.gz | |
7887b5a8 | 9 | # Source0-md5: ddf4e72a56bc41d30d7ff8760fd84772 |
0433ac1c | 10 | URL: http://pimlico-project.org/dates.html |
89489822 JB |
11 | BuildRequires: GConf2-devel >= 2.0 |
12 | BuildRequires: autoconf >= 2.53 | |
0433ac1c | 13 | BuildRequires: automake |
89489822 | 14 | BuildRequires: evolution-data-server-devel >= 1.2 |
0433ac1c | 15 | BuildRequires: gtk+2-devel >= 2:2.10.7 |
89489822 | 16 | BuildRequires: intltool >= 0.35.0 |
0433ac1c | 17 | BuildRequires: libtool |
18 | BuildRequires: libxml2-devel >= 1:2.6.27 | |
89489822 | 19 | BuildRequires: pkgconfig |
48e4e614 | 20 | Requires(post,postun): /sbin/ldconfig |
0433ac1c | 21 | Requires(post,postun): hicolor-icon-theme |
48e4e614 | 22 | Requires(post,postun): scrollkeeper |
0433ac1c | 23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
26 | Dates is a small, lightweight calendar, featuring an innovative, | |
27 | unified, zooming view and is designed primarily for use on hand-held | |
28 | devices. It is available in several flavours; a vanilla GTK+ user | |
29 | interface, a version for the Nokia 770/N800 Maemo platform and a | |
30 | version for OpenMoko devices. | |
31 | ||
48e4e614 JB |
32 | %description -l pl.UTF-8 |
33 | Dates to mały, lekki kalendarz cechujący się innowacyjnym, | |
34 | ujednoliconym, powiększanym widokiem; jest zaprojektowany głównie do | |
35 | używania na urządzeniach przenośnych. Jest dostępny w kilku odmianach; | |
36 | z czystym interfejsen GTK+, w wersji dla platformy Nokia 770/N800 | |
37 | Maemo oraz dla urządzeń OpenMoko. | |
38 | ||
39 | %package devel | |
40 | Summary: Header files for gtkdatesview library | |
41 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gtkdatesview | |
42 | Group: Development/Libraries | |
43 | Requires: %{name} = %{version}-%{release} | |
89489822 JB |
44 | Requires: GConf2-devel >= 2.0 |
45 | Requires: evolution-data-server-devel >= 1.2 | |
46 | Requires: gtk+2-devel >= 2:2.10.7 | |
48e4e614 JB |
47 | |
48 | %description devel | |
49 | Header files for gtkdatesview library. | |
50 | ||
51 | %description devel -l pl.UTF-8 | |
52 | Pliki nagłówkowe biblioteki gtkdatesview. | |
53 | ||
54 | %package static | |
55 | Summary: Static gtkdatesview library | |
56 | Summary(pl.UTF-8): Statyczna biblioteka gtkdatesview | |
57 | Group: Development/Libraries | |
58 | Requires: %{name}-devel = %{version}-%{release} | |
59 | ||
60 | %description static | |
61 | Static gtkdatesview library. | |
62 | ||
63 | %description static -l pl.UTF-8 | |
64 | Statyczna biblioteka gtkdatesview. | |
65 | ||
0433ac1c | 66 | %prep |
67 | %setup -q | |
68 | ||
69 | %build | |
70 | %{__glib_gettextize} | |
71 | %{__libtoolize} | |
72 | %{__intltoolize} | |
73 | %{__aclocal} | |
74 | %{__autoheader} | |
75 | %{__automake} | |
76 | %{__autoconf} | |
77 | %configure \ | |
78 | --disable-schemas-install \ | |
79 | --disable-scrollkeeper | |
80 | %{__make} | |
81 | ||
82 | %install | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %{__make} install \ | |
86 | DESTDIR=$RPM_BUILD_ROOT \ | |
87 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
88 | ||
89 | %find_lang %{name} --with-gnome --all-name | |
90 | ||
91 | %clean | |
92 | rm -rf $RPM_BUILD_ROOT | |
93 | ||
94 | %post | |
95 | /sbin/ldconfig | |
0433ac1c | 96 | %scrollkeeper_update_post |
97 | %update_icon_cache hicolor | |
98 | ||
0433ac1c | 99 | %postun |
100 | %scrollkeeper_update_postun | |
101 | /sbin/ldconfig | |
102 | %update_icon_cache hicolor | |
103 | ||
104 | %files -f %{name}.lang | |
105 | %defattr(644,root,root,755) | |
106 | %doc AUTHORS ChangeLog NEWS README | |
107 | %attr(755,root,root) %{_bindir}/* | |
48e4e614 | 108 | %attr(755,root,root) %{_libdir}/libgtkdatesview.so.*.*.* |
0433ac1c | 109 | %dir %{_datadir}/dates |
110 | %{_datadir}/dates/oh-about-logo.png | |
48e4e614 | 111 | %{_desktopdir}/dates.desktop |
0433ac1c | 112 | %{_iconsdir}/hicolor/16x16/apps/dates.png |
113 | %{_iconsdir}/hicolor/22x22/apps/dates.png | |
114 | %{_iconsdir}/hicolor/24x24/apps/dates.png | |
115 | %{_iconsdir}/hicolor/32x32/apps/dates.png | |
48e4e614 | 116 | %{_iconsdir}/hicolor/48x48/apps/dates.png |
0433ac1c | 117 | %{_iconsdir}/hicolor/scalable/apps/dates.svg |
118 | %{_mandir}/man1/dates.1* | |
119 | ||
48e4e614 JB |
120 | %files devel |
121 | %defattr(644,root,root,755) | |
122 | %attr(755,root,root) %{_libdir}/libgtkdatesview.so | |
0433ac1c | 123 | %{_libdir}/libgtkdatesview.la |
48e4e614 | 124 | %{_includedir}/gtkdatesview |
0433ac1c | 125 | %{_pkgconfigdir}/libgtkdatesview.pc |
48e4e614 JB |
126 | |
127 | %files static | |
128 | %defattr(644,root,root,755) | |
129 | %{_libdir}/libgtkdatesview.a |