]> git.pld-linux.org Git - packages/emerillon.git/blame - emerillon.spec
- Initial add, nfy
[packages/emerillon.git] / emerillon.spec
CommitLineData
30f72643
CM
1Summary: Emerillon is a map viewer featuring Open Street Maps
2Name: emerillon
3Version: 0.1.1
4Release: 0.1
5License: GPL
6Group: Applications
7Source0: http://download.gnome.org/sources/emerillon/0.1/%{name}-%{version}.tar.bz2
8# Source0-md5: 39c344961105019b45dc8b49e8d70cbe
9URL: http://projects.gnome.org/emerillon/
10BuildRequires: clutter-devel
11BuildRequires: geoclue-devel >= 0.11.1
12BuildRequires: glib-devel >= 2.12.0
13BuildRequires: gtk+2-devel >= 2.12.0
14BuildRequires: libchamplain-devel >= 0.4
15BuildRequires: libethos-devel >= 0.2
16BuildRequires: librest-devel >= 0.6.1
17Requires: clutter
18Requires: geoclue >= 0.11.1
19Requires: glib >= 2.12.0
20Requires: gtk+2 >= 2.12.0
21Requires: libchamplain >= 0.4
22Requires: libethos >= 0.2
23Requires: librest >= 0.6.1
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27Emerillon is a map viewer. Aiming at simple user interface, Emerillon
28is a powerful, extensible application. It is pronounced
29Ey-may-ree-yon.
30
31It features OpenStreetMap based maps: the street map, the cycling map
32and the transportation map. Use it to:
33
34- Browse maps,
35- Search the map for places,
36- Placemark places for later quick access.
37
38Emerillon is named after the Émérillon, one of the three boats that
39visited New France under Jacques Cartier's command in 1535. Émérillon
40is also French for Merlin Falcons.
41
42%package devel
43Summary: Header files for emerillon
44Group: Development/Libraries
45Requires: %{name} = %{version}-%{release}
46
47%description devel
48Header files for emerillon
49
50%prep
51%setup -q
52
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
58%endif
59
60%build
61%configure \
62 --disable-schemas-install
63%{__make}
64
65%install
66rm -rf $RPM_BUILD_ROOT
67
68%{__make} install \
69 DESTDIR=$RPM_BUILD_ROOT
70
71%find_lang %{name}
72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%post
77%gconf_schema_install %{name}.schemas
78
79%preun
80%gconf_schema_uninstall %{name}.schemas
81
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
92
93%files devel
94%defattr(644,root,root,755)
95%{_includedir}/%{name}-0.1/%{name}
96%{_pkgconfigdir}/*.pc
This page took 0.114043 seconds and 4 git commands to generate.