-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathomweather-weather-com-stations-db.spec
71 lines (51 loc) · 1.26 KB
/
omweather-weather-com-stations-db.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#
# Do not Edit! Generated by:
# spectacle version 0.18
#
# >> macros
# << macros
Name: omweather-weather-com-stations-db
Summary: Stations database and source lib for weather.com for Other Maemo Weather
Version: 1.0.1
Release: 1
Group: Applications/Internet
License: LGPL-2.1-only
URL: https://garage.maemo.org/projects/omweather/
Source0: %{name}-%{version}.tar.bz2
Source100: omweather-weather-com-stations-db.yaml
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: gcc
BuildRequires: make
%description
Stations database and source lib for weather.com for Other Maemo Weather
%prep
%setup -q -n %{name}-%{version}
# >> setup
# << setup
%build
# >> build pre
./autogen.sh
# << build pre
%configure --disable-static \
--datadir="/usr/share"
make %{?jobs:-j%jobs}
# >> build post
#make
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%make_install
# >> install post
# << install post
%files
%defattr(-,root,root,-)
/usr/lib/omweather/weathercom
/usr/lib/omweather/libomweather-weather-com-source.so
/usr/share/omweather/copyright_icons/weather.com.png
/usr/share/omweather/db/weather.com.db
/usr/share/omweather/sources/weather.com.xml
# >> files
# << files