This repository has been archived by the owner on Mar 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathido-devel.spec
68 lines (55 loc) · 1.6 KB
/
ido-devel.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
Name: ido-devel
Version: 13.10.0
Release: 1%{?dist}
Summary: Indicators and Display Objects
License: LGPLv3+ AND LGPLv2+
URL: https://launchpad.net/ido
Source0: http://archive.ubuntu.com/ubuntu/pool/universe/i/ido/ido_%{version}+17.04.20161028.orig.tar.gz
Patch0: http://archive.ubuntu.com/ubuntu/pool/universe/i/ido/ido_%{version}+17.04.20161028-0ubuntu3.diff.gz
BuildRequires: automake libtool gnome-common
BuildRequires: intltool
BuildRequires: make
BuildRequires: gcc
BuildRequires: g++
BuildRequires: libX11-devel
BuildRequires: libXi-devel
BuildRequires: asciidoc
BuildRequires: gobject-introspection-devel
BuildRequires: gtk3-devel
BuildRequires: gtest-devel
BuildRequires: gtk-doc
BuildRequires: vala
Requires: gobject-introspection
Requires: libX11
Requires: gtk3
%description
Widgets and other objects used for indicators.
%prep
%autosetup -c -p1
%build
# Remove tests
sed -i 's/tests//' ./Makefile.am
sed -i '149d' ./configure.ac
sed -i 's.-Wno-error=deprecated-declarations..' ./src/Makefile.am
# Requires gtk/ubuntu-private.h
sed -i '/idomenuitemfactory/d' ./src/Makefile.am
NOCONFIGURE=1 \
./autogen.sh
#sed -i '48d' ./tests/Makefile.am
%configure \
--disable-silent-rules \
--enable-gtk-doc \
--disable-static
%make_build
%install
%make_install
rm -fv %{buildroot}%{_libdir}/*.la
pushd %{buildroot}/usr
find . ! -type d -exec ls {} + > %{_builddir}/ido-devel-%{version}/files.txt
popd
sed -i s/^\.\\/// ./files.txt
sed -i 'sn^n%{_usr}/n' ./files.txt
%files -f files.txt
%license COPYING COPYING.LGPL.2.1
%changelog
%autochangelog