~singpolyma/biboumi

ref: 9ad92a900a0b91bc8659073af3a06f749b14ff0f biboumi/packaging/biboumi.spec.cmake -rw-r--r-- 3.6 KiB
9ad92a90 — louiz’ Merge branch 'v9' 2 years ago
                                                                                
7fcc77f5 Florent Le Coz
ae7c54f3 Florent Le Coz
c649e56d Florent Le Coz
7fcc77f5 Florent Le Coz
3d254281 Florent Le Coz
7fcc77f5 Florent Le Coz
49bb28c6 louiz’
5c75cd10 louiz’
ad1c63b1 louiz’
7fcc77f5 Florent Le Coz
b5f7e599 louiz’
7fcc77f5 Florent Le Coz
7bfe695c Florent Le Coz
7fcc77f5 Florent Le Coz
0de421fa Florent Le Coz
ad1c63b1 louiz’
0de421fa Florent Le Coz
49bb28c6 louiz’
5c75cd10 louiz’
3736cc1f Florent Le Coz
1e797056 Florent Le Coz
016ee712 louiz’
7fcc77f5 Florent Le Coz
eb76171a Florent Le Coz
ed49e067 Florent Le Coz
eb76171a Florent Le Coz
7fcc77f5 Florent Le Coz
28acbed9 louiz’
7fcc77f5 Florent Le Coz
2588efb6 louiz’
7fcc77f5 Florent Le Coz
6174ceb4 louiz’
ad1c63b1 louiz’
23c96acc louiz’
f6dd3c46 louiz’
ab7d1bbf louiz’
ac8cd708 louiz’
8ac2645b louiz’
ac8cd708 louiz’
d3eda687 louiz’
8ac2645b louiz’
1c4620d9 louiz’
08fabd0a louiz’
24b4a09d louiz’
97c8e2fe louiz’
8ac2645b louiz’
23e51e81 louiz’
6e1af8b0 louiz’
5c75cd10 louiz’
aa65cfd1 louiz’
c1984733 louiz’
49bb28c6 louiz’
6c2f79ee louiz’
23a33721 louiz’
085c858c louiz’
0a8a77e6 louiz’
ea65b43c louiz’
9634cdab louiz’
f9eb534d louiz’
0f14fe83 louiz’
ae7c54f3 Florent Le Coz
25475b60 Florent Le Coz
c649e56d Florent Le Coz
ae7c54f3 Florent Le Coz
3736cc1f Florent Le Coz
0de421fa Florent Le Coz
7bfe695c Florent Le Coz
3736cc1f Florent Le Coz
ae7c54f3 Florent Le Coz
f4c08242 Florent Le Coz
7fcc77f5 Florent Le Coz
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
Name:     biboumi
Version:  ${RPM_VERSION}
Release:  1%{?dist}
Summary:  Lightweight XMPP to IRC gateway

License:  zlib
URL:      http://biboumi.louiz.org
Source0:  http://git.louiz.org/biboumi/snapshot/biboumi-%{version}.tar.xz

BuildRequires: libidn-devel
BuildRequires: expat-devel
BuildRequires: libuuid-devel
BuildRequires: systemd-devel
BuildRequires: sqlite-devel
BuildRequires: postgresql-devel
BuildRequires: botan2-devel
BuildRequires: cmake
BuildRequires: systemd
BuildRequires: python3-sphinx

%global _hardened_build 1

%global biboumi_confdir %{_sysconfdir}/%{name}


%description
An XMPP gateway that connects to IRC servers and translates between the two
protocols. It can be used to access IRC channels using any XMPP client as if
these channels were XMPP MUCs.


%prep
%setup -q


%build
cmake . -DCMAKE_CXX_FLAGS="%{optflags}" \
      -DCMAKE_BUILD_TYPE=release \
      -DCMAKE_INSTALL_PREFIX=/usr \
      -DPOLLER=EPOLL \
      -DWITH_BOTAN=1 \
      -DWITH_SYSTEMD=1 \
      -DWITH_LIBIDN=1 \
      -DWITH_SQLITE3=1 \
      -DWITH_POSTGRESQL=1

make %{?_smp_mflags}
make man SPHINXBUILD=sphinx-build-3

%install
make install DESTDIR=%{buildroot}


%check
make check %{?_smp_mflags}


%files
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%doc README.rst COPYING doc/*.rst
%{_unitdir}/%{name}.service
%config(noreplace) %{biboumi_confdir}/*policy.txt


%changelog
* Tue Sep 22 2020 Le Coz Florent <louiz@louiz.org> - 9.0-1
  Update to version 9.0

* Sat May 9 2020 Le Coz Florent <louiz@louiz.org> - 8.5-1
  Update to version 8.5

* Tue Feb 25 2020 Le Coz Florent <louiz@louiz.org> - 8.4-1
  Update to version 8.4

* Wed Jun 1 2018 Le Coz Florent <louiz@louiz.org> - 8.3-1
  Update to version 8.3

* Fri May 25 2018 Le Coz Florent <louiz@louiz.org> - 8.2-1
  Update to version 8.2

* Mon May 14 2018 Le Coz Florent <louiz@louiz.org> - 8.1-1
  Update to version 8.1

* Wed May 2 2018 Le Coz Florent <louiz@louiz.org> - 8.0-1
  Update to version 8.0

* Wed Jan 24 2018 Le Coz Florent <louiz@louiz.org> - 7.2-1
  Update to version 7.2

* Mon Jan 22 2018 Le Coz Florent <louiz@louiz.org> - 7.1-1
  Update to version 7.1

* Wed Jan 17 2018 Le Coz Florent <louiz@louiz.org> - 7.0-1
  Update to version 7.0

* Wed Oct 4 2017 Le Coz Florent <louiz@louiz.org> - 6.1-1
  Update to version 6.1

* Tue Sep 19 2017 Le Coz Florent <louiz@louiz.org> - 6.0-1
  Update to version 6.0

* Wed May 24 2017 Le Coz Florent <louiz@louiz.org> - 5.0-1
- Update to version 5.0

* Wed May 2 2017 Le Coz Florent <louiz@louiz.org> - 4.3-1
- Fix a segmentation fault that occured when trying to connect
  to an IRC server without any port configured.

* Wed Apr 26 2017 Le Coz Florent <louiz@louiz.org> - 4.2-1
- Fix a build issue when LiteSQL is absent from the system

* Tue Mar 21 2017 Le Coz Florent <louiz@louiz.org> - 4.1-1
- Update to 4.1 sources: compatibility with botan 2.0

* Wed Nov 9 2016 Le Coz Florent <louiz@louiz.org> - 4.0-1
- Update to 4.0 sources

* Thu Aug 4 2016 Le Coz Florent <louiz@louiz.org> - 3.0-1
- Update to 3.0 sources

* Wed Jan 13 2016 Le Coz Florent <louiz@louiz.org> - 2.0-2
- Do not install the systemd unit and configuration files, because
  “make install” does it itself now

* Fri May 29 2015 Le Coz Florent <louiz@louiz.org> - 2.0-1
- Update to 2.0 sources

* Thu Nov 13 2014 Le Coz Florent <louiz@louiz.org> - 1.1-2
- Use the -DWITH(OUT) cmake flags for all optional dependencies
- Build with the correct optflags
- Use hardened_build

* Mon Aug 18 2014 Le Coz Florent <louiz@louiz.org> - 1.1-1
- Update to 1.1 release

* Wed Jun 25 2014 Le Coz Florent <louiz@louiz.org> - 1.0-1
- Spec file written from scratch