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