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 |
16 |
# Please submit bugfixes or comments via http://bugs.opensuse.org/ |
# Please submit bugfixes or comments via http://bugs.opensuse.org/ |
17 |
# |
# |
18 |
|
|
19 |
%define name @PACKAGE@ |
%define name @PACKAGE_TARNAME@ |
20 |
%define version @VERSION@ |
%define version @PACKAGE_VERSION@ |
21 |
%define release 46 |
%define release 48.1 |
22 |
|
|
23 |
%define _soname %{name}6 |
%define _soname %{name}6 |
24 |
|
|
25 |
%define _prefix @prefix@ |
%define _prefix @ac_prefix@ |
26 |
|
|
27 |
%if %{defined fedora} |
%if %{defined fedora} |
28 |
%global debug_package %{nil} |
%global debug_package %{nil} |
39 |
#Packager: rncbc.org |
#Packager: rncbc.org |
40 |
|
|
41 |
BuildRequires: coreutils |
BuildRequires: coreutils |
42 |
|
BuildRequires: cmake |
43 |
BuildRequires: pkgconfig |
BuildRequires: pkgconfig |
44 |
BuildRequires: glibc-devel |
BuildRequires: glibc-devel |
|
BuildRequires: autoconf automake libtool |
|
45 |
BuildRequires: doxygen |
BuildRequires: doxygen |
46 |
|
|
47 |
%description |
%description |
90 |
|
|
91 |
|
|
92 |
%prep |
%prep |
93 |
|
%setup -q |
|
%setup |
|
|
[ -x ./autogen.sh ] && ./autogen.sh |
|
94 |
|
|
95 |
%build |
%build |
96 |
%if %{undefined fedora} |
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -Wno-dev |
|
export CFLAGS="-ffat-lto-objects" |
|
|
%endif |
|
|
%configure |
|
97 |
%__make %{?_smp_mflags} |
%__make %{?_smp_mflags} |
98 |
|
|
99 |
%install |
%install |
110 |
|
|
111 |
%files -n %{_soname} |
%files -n %{_soname} |
112 |
%defattr(-,root,root) |
%defattr(-,root,root) |
113 |
%doc AUTHORS COPYING ChangeLog NEWS README TODO |
%doc README LICENSE ChangeLog |
114 |
%{_libdir}/liblscp.so.* |
%{_libdir}/liblscp.so.* |
115 |
|
|
116 |
%files devel |
%files devel |
117 |
%defattr(-,root,root) |
%defattr(-,root,root) |
118 |
%doc doc/html/* |
%doc doc/html/* |
119 |
%{_libdir}/liblscp.so |
%{_libdir}/liblscp.so |
|
%{_libdir}/liblscp.a |
|
|
%{_libdir}/liblscp.la |
|
120 |
%{_libdir}/pkgconfig/lscp.pc |
%{_libdir}/pkgconfig/lscp.pc |
121 |
%dir %{_includedir}/lscp |
%dir %{_includedir}/lscp |
122 |
%{_includedir}/lscp/*.h |
%{_includedir}/lscp/*.h |
123 |
|
|
124 |
%changelog |
%changelog |
125 |
|
* Sun Jul 4 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.4 |
126 |
|
- Early-Summer'21 release. |
127 |
|
* Tue May 11 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.3 |
128 |
|
- Spring'21 release. |
129 |
* Sun Mar 14 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.2 |
* Sun Mar 14 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.2 |
130 |
- End-of-Winter'21 release. |
- End-of-Winter'21 release. |
131 |
* Sun Feb 7 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.1 |
* Sun Feb 7 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.1 |