/[packages]/cauldron/eweather/current/SPECS/eweather.spec
ViewVC logotype

Contents of /cauldron/eweather/current/SPECS/eweather.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1917266 - (show annotations) (download)
Sun Dec 4 06:17:47 2022 UTC (22 months ago) by danf
File size: 1865 byte(s)
SILENT: Switch URLs to https:
1 %define svn r81625
2 %define rel 13
3 %if 0%{?svn:1}
4 #define release %%mkrel -c %%svn %%rel
5 %define release %mkrel 1.%svn.%rel
6 %else
7 %define release %mkrel %rel
8 %endif
9
10 %define major 0
11 %define libname %mklibname eweather %major
12 %define libnamedev %mklibname eweather -d
13
14 Summary: Enlightenment weather/forecasts module
15 Name: eweather
16 Version: 0.2.0
17 Release: %release
18 License: LGPLv2+
19 Group: Graphical desktop/Enlightenment
20 URL: https://www.enlightenment.org/
21 # creating archive is quite simple:
22 # svn export http://svn.enlightenment.org/svn/e/trunk/%%name %%name
23 # tar cJf %%name-%%svn.tar.xz %%name
24 %if 0%{?svn:1}
25 Source: %name-%svn.tar.xz
26 %else
27 Source: %name-%version.tar.bz2
28 %endif
29 Patch0: eweather-automake-1.13.patch
30
31 BuildRequires: pkgconfig(efl)
32 BuildRequires: efl
33 BuildRequires: gettext-devel
34
35 %description
36 Enlightenment weather/forecasts module.
37
38 %package -n %libname
39 Summary: Libraries for the %{name} package
40 Group: System/Libraries
41 Requires: %name = %{version}-%{release}
42
43 %description -n %libname
44 Libraries for %{name}
45
46 %package -n %libnamedev
47 Summary: Headers and development libraries from %{name}
48 Group: Development/Other
49 Requires: %libname = %{version}-%{release}
50 Provides: %name-devel = %{version}-%{release}
51
52 %description -n %libnamedev
53 %{name} development headers and libraries
54
55 %prep
56 %if 0%{?svn:1}
57 %setup -qn %name
58 %else
59 %setup -qn %name-version
60 %endif
61 %patch0 -p1 -b .automake113
62
63 %build
64 %if 0%{?svn:1}
65 LC_ALL=C NOCONFIGURE=1 ./autogen.sh
66 %endif
67 %configure --disable-static
68 %make_build
69
70 %install
71 %make_install
72
73 rm -rf %buildroot/%{_datadir}/simple
74 rm -rf %buildroot/%{_datadir}/default
75
76 find %buildroot -name *.la | xargs rm
77
78
79 %files
80 %{_bindir}/eweather_test
81 %{_libdir}/eweather
82 %{_datadir}/eweather
83
84 %files -n %libname
85 %{_libdir}/*.so.0
86 %{_libdir}/*.so.0.*
87
88 %files -n %libnamedev
89 %{_includedir}/*
90 %{_libdir}/pkgconfig/*.pc
91 %{_libdir}/*.so

  ViewVC Help
Powered by ViewVC 1.1.30