1 Summary: Emerillon is a map viewer featuring Open Street Maps
7 Source0: http://download.gnome.org/sources/emerillon/0.1/%{name}-%{version}.tar.bz2
8 # Source0-md5: 39c344961105019b45dc8b49e8d70cbe
9 URL: http://projects.gnome.org/emerillon/
10 BuildRequires: clutter-devel
11 BuildRequires: geoclue-devel >= 0.11.1
12 BuildRequires: glib-devel >= 2.12.0
13 BuildRequires: gtk+2-devel >= 2.12.0
14 BuildRequires: libchamplain-devel >= 0.4
15 BuildRequires: libethos-devel >= 0.2
16 BuildRequires: librest-devel >= 0.6.1
18 Requires: geoclue >= 0.11.1
19 Requires: glib >= 2.12.0
20 Requires: gtk+2 >= 2.12.0
21 Requires: libchamplain >= 0.4
22 Requires: libethos >= 0.2
23 Requires: librest >= 0.6.1
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Emerillon is a map viewer. Aiming at simple user interface, Emerillon
28 is a powerful, extensible application. It is pronounced
31 It features OpenStreetMap based maps: the street map, the cycling map
32 and the transportation map. Use it to:
35 - Search the map for places,
36 - Placemark places for later quick access.
38 Emerillon is named after the Émérillon, one of the three boats that
39 visited New France under Jacques Cartier's command in 1535. Émérillon
40 is also French for Merlin Falcons.
43 Summary: Header files for emerillon
44 Group: Development/Libraries
45 Requires: %{name} = %{version}-%{release}
48 Header files for emerillon
53 # If gtk+2 >= 2.20 patch for new names of depricated methods.
54 %define GTKVER %(rpm -q --qf %{version} gtk+2)
55 %if "GTKVER" >= "2.20.0"
56 %{__sed} -i -e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/g' %{name}/*.c
57 %{__sed} -i -e 's/GTK_WIDGET_NO_WINDOW/gtk_widget_get_has_window/g' %{name}/*.c
62 --disable-schemas-install
66 rm -rf $RPM_BUILD_ROOT
69 DESTDIR=$RPM_BUILD_ROOT
74 rm -rf $RPM_BUILD_ROOT
77 %gconf_schema_install %{name}.schemas
80 %gconf_schema_uninstall %{name}.schemas
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog COPYING INSTALL NEWS README
85 %dir %{_libdir}/%{name}
86 %{_libdir}/%{name}/plugins
87 %attr(755,root,root) %{_bindir}/%{name}
88 %{_sysconfdir}/gconf/schemas/%{name}.schemas
89 %dir %{_datadir}/%{name}
90 %{_datadir}/%{name}/%{name}-ui.xml
91 %{_desktopdir}/%{name}.desktop
94 %defattr(644,root,root,755)
95 %{_includedir}/%{name}-0.1/%{name}