Accepting request 832098 from devel:libraries:c_c++
- Remove old specfile constructs OBS-URL: https://build.opensuse.org/request/show/832098 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmowgli2?expand=0&rev=13
This commit is contained in:
commit
801fab8fb4
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 4 12:18:54 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Remove old specfile constructs
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 21 13:27:11 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
Wed Aug 21 13:27:11 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libmowgli2
|
# spec file for package libmowgli2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -26,9 +26,7 @@ Group: Development/Libraries/C and C++
|
|||||||
URL: https://github.com/atheme/libmowgli-2
|
URL: https://github.com/atheme/libmowgli-2
|
||||||
|
|
||||||
Source: https://github.com/atheme/libmowgli-2/archive/v%version.tar.gz
|
Source: https://github.com/atheme/libmowgli-2/archive/v%version.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: pkgconfig(libssl)
|
||||||
BuildRequires: libopenssl-devel
|
|
||||||
BuildRequires: pkg-config
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
mowgli is a development framework for C (like GLib) which provides
|
mowgli is a development framework for C (like GLib) which provides
|
||||||
@ -69,7 +67,7 @@ block allocator.
|
|||||||
This package holds the development files for libmowgli v2.
|
This package holds the development files for libmowgli v2.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn libmowgli-2-%version
|
%autosetup -n libmowgli-2-%version -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ ! -e configure ]; then
|
if [ ! -e configure ]; then
|
||||||
@ -78,7 +76,7 @@ fi
|
|||||||
%configure
|
%configure
|
||||||
# They are still on so.0, but functions were added
|
# They are still on so.0, but functions were added
|
||||||
echo 'V_%version { global: *; };' >mowgli2.sym
|
echo 'V_%version { global: *; };' >mowgli2.sym
|
||||||
make %{?_smp_mflags} LDFLAGS="-Wl,--version-script=$PWD/mowgli2.sym"
|
%make_build LDFLAGS="-Wl,--version-script=$PWD/mowgli2.sym"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
@ -87,12 +85,11 @@ make %{?_smp_mflags} LDFLAGS="-Wl,--version-script=$PWD/mowgli2.sym"
|
|||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
|
||||||
%_libdir/libmowgli-2.so.0*
|
%_libdir/libmowgli-2.so.0*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%doc doc/BOOST README
|
||||||
%doc AUTHORS COPYING doc/BOOST README
|
%license COPYING
|
||||||
%_includedir/libmowgli-2
|
%_includedir/libmowgli-2
|
||||||
%_libdir/libmowgli-2.so
|
%_libdir/libmowgli-2.so
|
||||||
%_libdir/pkgconfig/libmowgli-2.pc
|
%_libdir/pkgconfig/libmowgli-2.pc
|
||||||
|
Loading…
Reference in New Issue
Block a user