Accepting request 104137 from devel:libraries:c_c++
- Move library back to %{_libdir}, /usr merge project. (forwarded request 103816 from elvigia) OBS-URL: https://build.opensuse.org/request/show/104137 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdaemon?expand=0&rev=22
This commit is contained in:
parent
e8e4a97212
commit
45180f7d93
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 11 19:25:52 UTC 2012 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Move library back to %{_libdir}, /usr merge project.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 1 02:41:49 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Remove redundant tags/sections per specfile guideline suggestions
|
||||||
|
- Parallel building using %_smp_mflags
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 5 11:06:05 CEST 2010 - vuntz@opensuse.org
|
Tue Oct 5 11:06:05 CEST 2010 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libdaemon (Version 0.14)
|
# spec file for package libdaemon
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -15,13 +15,11 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: libdaemon
|
Name: libdaemon
|
||||||
Url: http://0pointer.de/lennart/projects/libdaemon/
|
Url: http://0pointer.de/lennart/projects/libdaemon/
|
||||||
Version: 0.14
|
Version: 0.14
|
||||||
Release: 1
|
Release: 0
|
||||||
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
|
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -35,8 +33,8 @@ libdaemon is a lightweight C library that eases the writing of UNIX
|
|||||||
daemons.
|
daemons.
|
||||||
|
|
||||||
%package -n libdaemon0
|
%package -n libdaemon0
|
||||||
License: LGPL-2.1+
|
|
||||||
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
|
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
|
||||||
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: %{name} = %{version}
|
Provides: %{name} = %{version}
|
||||||
#opensuse 10.3
|
#opensuse 10.3
|
||||||
@ -47,8 +45,8 @@ libdaemon is a lightweight C library that eases the writing of UNIX
|
|||||||
daemons.
|
daemons.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: GPL-2.0+
|
|
||||||
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
|
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
|
||||||
|
License: GPL-2.0+
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libdaemon0 = %{version}
|
Requires: libdaemon0 = %{version}
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
@ -63,23 +61,14 @@ daemons.
|
|||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static --with-pic \
|
--disable-static --with-pic \
|
||||||
--libdir=/%{_lib} \
|
|
||||||
--disable-lynx
|
--disable-lynx
|
||||||
%{__make} %{?jobs:-j%jobs}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%makeinstall
|
||||||
rm -f %{buildroot}/%{_lib}/libdaemon.la
|
rm -f %{buildroot}%{_libdir}/libdaemon.la
|
||||||
# We don't care about the HTML README
|
# We don't care about the HTML README
|
||||||
rm %{buildroot}%{_datadir}/doc/libdaemon/{README.html,style.css}
|
rm %{buildroot}%{_datadir}/doc/libdaemon/{README.html,style.css}
|
||||||
# Move back some files to /usr
|
|
||||||
%{__install} -d -m 0755 %{buildroot}%{_libdir}/pkgconfig
|
|
||||||
%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so
|
|
||||||
%{__rm} -v %{buildroot}/%{_lib}/%{name}.so
|
|
||||||
%{__mv} -v %{buildroot}/%{_lib}/pkgconfig/%{name}.pc %{buildroot}%{_libdir}/pkgconfig
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post -n libdaemon0 -p /sbin/ldconfig
|
%post -n libdaemon0 -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -88,7 +77,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files -n libdaemon0
|
%files -n libdaemon0
|
||||||
%defattr (-,root,root)
|
%defattr (-,root,root)
|
||||||
%doc LICENSE README
|
%doc LICENSE README
|
||||||
/%{_lib}/libdaemon.so.0*
|
%{_libdir}/libdaemon.so.0*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr (-,root,root)
|
%defattr (-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user