]> git.pld-linux.org Git - packages/emerillon.git/blob - emerillon.spec
- Initial add, nfy
[packages/emerillon.git] / emerillon.spec
1 Summary:        Emerillon is a map viewer featuring Open Street Maps
2 Name:           emerillon
3 Version:        0.1.1
4 Release:        0.1
5 License:        GPL
6 Group:          Applications
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
17 Requires:       clutter
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)
25
26 %description
27 Emerillon is a map viewer. Aiming at simple user interface, Emerillon
28 is a powerful, extensible application. It is pronounced
29 Ey-may-ree-yon.
30
31 It features OpenStreetMap based maps: the street map, the cycling map
32 and the transportation map. Use it to:
33
34 - Browse maps,
35 - Search the map for places,
36 - Placemark places for later quick access.
37
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.
41
42 %package devel
43 Summary:        Header files for emerillon
44 Group:          Development/Libraries
45 Requires:       %{name} = %{version}-%{release}
46
47 %description devel
48 Header 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
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 %find_lang %{name}
72
73 %clean
74 rm -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.080679 seconds and 3 git commands to generate.