1 |
# |
# |
2 |
# spec file for package liblscp |
# spec file for package liblscp |
3 |
# |
# |
4 |
# Copyright (C) 2004-2021, rncbc aka Rui Nuno Capela. All rights reserved. |
# Copyright (C) 2004-2022, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
# Copyright (C) 2007,2008,2015 Christian Schoenebeck |
# Copyright (C) 2007,2008,2015 Christian Schoenebeck |
6 |
# |
# |
7 |
# All modifications and additions to the file contributed by third parties |
# All modifications and additions to the file contributed by third parties |
18 |
|
|
19 |
%define name @PACKAGE_TARNAME@ |
%define name @PACKAGE_TARNAME@ |
20 |
%define version @PACKAGE_VERSION@ |
%define version @PACKAGE_VERSION@ |
21 |
%define release 48.1 |
%define release 50.1 |
22 |
|
|
23 |
%define _soname %{name}6 |
%define _soname %{name}6 |
24 |
|
|
93 |
%setup -q |
%setup -q |
94 |
|
|
95 |
%build |
%build |
96 |
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -Wno-dev |
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -Wno-dev -B build |
97 |
%__make %{?_smp_mflags} |
cmake --build build %{?_smp_mflags} |
98 |
|
|
99 |
%install |
%install |
100 |
%__make DESTDIR="%{buildroot}" install |
DESTDIR="%{buildroot}" \ |
101 |
|
cmake --install build |
102 |
|
|
103 |
%clean |
%clean |
104 |
[ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}" |
[ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}" |
116 |
|
|
117 |
%files devel |
%files devel |
118 |
%defattr(-,root,root) |
%defattr(-,root,root) |
|
%doc doc/html/* |
|
119 |
%{_libdir}/liblscp.so |
%{_libdir}/liblscp.so |
120 |
%{_libdir}/pkgconfig/lscp.pc |
%{_libdir}/pkgconfig/lscp.pc |
121 |
%dir %{_includedir}/lscp |
%dir %{_includedir}/lscp |
122 |
%{_includedir}/lscp/*.h |
%{_includedir}/lscp/*.h |
123 |
|
%dir %{_datadir}/doc/%{name} |
124 |
|
%dir %{_datadir}/doc/%{name}/html |
125 |
|
%{_datadir}/doc/%{name}/html/* |
126 |
|
|
127 |
|
|
128 |
%changelog |
%changelog |
129 |
|
* Sat Apr 2 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.9.6 |
130 |
|
- A Spring'22 Release. |
131 |
|
* Sun Jan 9 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.9.5 |
132 |
|
- A Winter'22 Release. |
133 |
* Sun Jul 4 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.4 |
* Sun Jul 4 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.4 |
134 |
- Early-Summer'21 release. |
- Early-Summer'21 release. |
135 |
* Tue May 11 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.3 |
* Tue May 11 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.3 |