]>
Commit | Line | Data |
---|---|---|
01eda719 | 1 | # |
2 | # Conditional build: | |
3 | # | |
c60b4594 AM |
4 | %define orgname marble |
5 | %define _state stable | |
365591fa | 6 | %define qtver 4.8.1 |
c60b4594 | 7 | # |
01eda719 | 8 | Summary: Marble |
9 | Summary(pl.UTF-8): Marble | |
669f0749 | 10 | Name: kde4-marble |
b32e40a0 | 11 | Version: 4.10.4 |
e6817dde | 12 | Release: 1 |
01eda719 | 13 | License: LGPL v2 |
14 | Group: X11/Libraries | |
07c7c231 | 15 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz |
b32e40a0 | 16 | # Source0-md5: 8ac5fad96337a6560fdc1787c7e5bddf |
c60b4594 | 17 | URL: http://www.kde.org/ |
01eda719 | 18 | # leave only required ones |
19 | BuildRequires: Qt3Support-devel >= %{qt_ver} | |
20 | BuildRequires: QtCore-devel >= %{qt_ver} | |
21 | BuildRequires: QtDBus-devel >= %{qt_ver} | |
22 | BuildRequires: QtDesigner-devel >= %{qt_ver} | |
23 | BuildRequires: QtGui-devel >= %{qt_ver} | |
24 | BuildRequires: QtScript-devel >= %{qt_ver} | |
25 | BuildRequires: QtSvg-devel >= %{qt_ver} | |
26 | BuildRequires: QtTest-devel >= %{qt_ver} | |
27 | BuildRequires: QtUiTools-devel >= %{qt_ver} | |
c5b6e301 | 28 | BuildRequires: QtWebKit-devel |
01eda719 | 29 | BuildRequires: QtXml-devel >= %{qt_ver} |
30 | BuildRequires: automoc4 >= 0.9.88 | |
31 | BuildRequires: cmake >= 2.6.3 | |
c5b6e301 | 32 | BuildRequires: gpsd-devel >= 2.37 |
01eda719 | 33 | BuildRequires: kde4-kdelibs-devel >= %{_kdever} |
34 | BuildRequires: phonon-devel >= 4.3.1 | |
c5b6e301 | 35 | BuildRequires: pkgconfig |
01eda719 | 36 | BuildRequires: qt4-build >= %{qt_ver} |
37 | BuildRequires: qt4-qmake >= %{qt_ver} | |
38 | BuildRequires: rpmbuild(macros) >= 1.293 | |
de6ea06c | 39 | Obsoletes: kde4-kdeedu-marble < 4.6.99 |
c1f4ed94 | 40 | Obsoletes: marble <= 4.8.0 |
01eda719 | 41 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
42 | ||
43 | %description | |
44 | Marble is a Virtual Globe and World Atlas that you can use to learn | |
45 | more about Earth: You can pan and zoom around and you can look up | |
46 | places and roads. A mouse click on a place label will provide the | |
47 | respective Wikipedia article. | |
48 | ||
49 | %description -l pl.UTF-8 | |
50 | Marble. | |
51 | ||
52 | %package devel | |
53 | Summary: Marble header files | |
54 | Summary(pl.UTF-8): Pliki nagłówkowe dla Marble | |
55 | Group: X11/Development/Libraries | |
56 | Requires: %{name} = %{version}-%{release} | |
57 | Requires: kde4-kdelibs-devel >= %{version} | |
de6ea06c | 58 | Obsoletes: kde4-kdeedu-devel < 4.6.99 |
c1f4ed94 | 59 | Obsoletes: marble-devel <= 4.8.0 |
01eda719 | 60 | |
61 | %description devel | |
62 | This package contains Marble header files. | |
63 | ||
64 | %description devel -l pl.UTF-8 | |
65 | Pakiet zawiera pliki nagłówkowe dla Marble. | |
66 | ||
67 | %prep | |
669f0749 | 68 | %setup -q -n %{orgname}-%{version} |
01eda719 | 69 | |
70 | %build | |
71 | install -d build | |
72 | cd build | |
c60b4594 | 73 | %cmake .. |
01eda719 | 74 | |
75 | %{__make} | |
76 | ||
77 | %install | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %{__make} -C build install \ | |
81 | DESTDIR=$RPM_BUILD_ROOT | |
82 | ||
669f0749 | 83 | %find_lang %{orgname} --with-kde |
c60b4594 | 84 | |
6ec07610 AM |
85 | %post -p /sbin/ldconfig |
86 | %postun -p /sbin/ldconfig | |
87 | ||
01eda719 | 88 | %clean |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
669f0749 | 91 | %files -f %{orgname}.lang |
01eda719 | 92 | %defattr(644,root,root,755) |
01eda719 | 93 | %attr(755,root,root) %{_bindir}/marble |
3e562bf1 | 94 | %attr(755,root,root) %{_bindir}/marble-touch |
c60b4594 | 95 | %attr(755,root,root) %{_bindir}/routing-instructions |
01eda719 | 96 | %attr(755,root,root) %{_bindir}/tilecreator |
97 | %attr(755,root,root) %{_libdir}/kde4/libmarble_part.so | |
98 | %attr(755,root,root) %{_libdir}/kde4/plasma_applet_worldclock.so | |
3e562bf1 | 99 | %attr(755,root,root) %{_libdir}/kde4/plasma_runner_marble.so |
dcc268f8 | 100 | %dir %{_libdir}/kde4/plugins/marble |
c60b4594 | 101 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/AprsPlugin.so |
5dcb1094 | 102 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/AtmospherePlugin.so |
3e562bf1 | 103 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/CachePlugin.so |
01eda719 | 104 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/CompassFloatItem.so |
7138a8db | 105 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/CrosshairsPlugin.so |
c60b4594 | 106 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/EarthquakePlugin.so |
3e562bf1 | 107 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/ElevationProfileFloatItem.so |
e392baf7 AM |
108 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/ElevationProfileMarker.so |
109 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/FlightGearPositionProviderPlugin.so | |
5dcb1094 | 110 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/FoursquarePlugin.so |
e392baf7 AM |
111 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/GosmoreReverseGeocodingPlugin.so |
112 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/GosmoreRoutingPlugin.so | |
7138a8db | 113 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/GpsdPositionProviderPlugin.so |
3e562bf1 AM |
114 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/GpsInfo.so |
115 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/GpxPlugin.so | |
7138a8db | 116 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/GraticulePlugin.so |
c60b4594 | 117 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/HostipPlugin.so |
5dcb1094 | 118 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/JsonPlugin.so |
3e562bf1 | 119 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/KmlPlugin.so |
c60b4594 AM |
120 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/LatLonPlugin.so |
121 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/LocalDatabasePlugin.so | |
122 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/LocalOsmSearchPlugin.so | |
e392baf7 AM |
123 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/LogPlugin.so |
124 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/MapQuestPlugin.so | |
c60b4594 | 125 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/MapScaleFloatItem.so |
e392baf7 | 126 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/MeasureTool.so |
c60b4594 AM |
127 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/MonavPlugin.so |
128 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/NavigationFloatItem.so | |
e392baf7 AM |
129 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/NominatimReverseGeocodingPlugin.so |
130 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/NominatimSearchPlugin.so | |
c60b4594 AM |
131 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/OpenDesktopPlugin.so |
132 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/OpenRouteServicePlugin.so | |
3e562bf1 | 133 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/OsmPlugin.so |
e392baf7 | 134 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/OSRMPlugin.so |
7138a8db | 135 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/OverviewMap.so |
136 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/Photo.so | |
3e562bf1 AM |
137 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/PlacemarkPositionProviderPlugin.so |
138 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/PntPlugin.so | |
c60b4594 | 139 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/PositionMarker.so |
e392baf7 | 140 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/PostalCode.so |
c60b4594 | 141 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/ProgressFloatItem.so |
7138a8db | 142 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/QNamNetworkPlugin.so |
e392baf7 | 143 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/RouteSimulationPositionProviderPlugin.so |
c60b4594 AM |
144 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/RoutingPlugin.so |
145 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/RoutinoPlugin.so | |
3e562bf1 AM |
146 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/SatellitesPlugin.so |
147 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/Speedometer.so | |
7138a8db | 148 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/StarsPlugin.so |
3e562bf1 | 149 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/SunPlugin.so |
7138a8db | 150 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/Weather.so |
151 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/Wikipedia.so | |
c60b4594 AM |
152 | %attr(755,root,root) %{_libdir}/kde4/plugins/marble/YoursPlugin.so |
153 | %attr(755,root,root) %ghost %{_libdir}/libmarblewidget.so.?? | |
01eda719 | 154 | %attr(755,root,root) %{_libdir}/libmarblewidget.so.*.*.* |
5dcb1094 AM |
155 | %{_datadir}/applications/kde4/marble_gpx.desktop |
156 | %{_datadir}/applications/kde4/marble_kml.desktop | |
157 | %{_datadir}/applications/kde4/marble_osm.desktop | |
01eda719 | 158 | %{_datadir}/apps/marble |
159 | %{_desktopdir}/kde4/marble.desktop | |
01eda719 | 160 | %{_datadir}/config.kcfg/marble.kcfg |
161 | %{_datadir}/kde4/services/marble_part.desktop | |
5dcb1094 AM |
162 | %{_datadir}/kde4/services/marble_part_gpx.desktop |
163 | %{_datadir}/kde4/services/marble_part_kml.desktop | |
164 | %{_datadir}/kde4/services/marble_part_osm.desktop | |
01eda719 | 165 | %{_datadir}/kde4/services/plasma-applet-kworldclock.desktop |
3e562bf1 | 166 | %{_datadir}/kde4/services/plasma-runner-marble.desktop |
5dcb1094 | 167 | %{_datadir}/mime/packages/geo.xml |
c60b4594 | 168 | %{_iconsdir}/hicolor/*x*/apps/marble.png |
01eda719 | 169 | |
170 | %files devel | |
171 | %defattr(644,root,root,755) | |
172 | %{_includedir}/marble | |
173 | %attr(755,root,root) %{_libdir}/libmarblewidget.so | |
174 | %{_datadir}/apps/cmake/modules/FindMarble.cmake |