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