Accepting request 77922 from home:Friseer
to fix the unresolvables in Gnome:Apps e.g.transmission 2.33 gruss friseer OBS-URL: https://build.opensuse.org/request/show/77922 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libevent?expand=0&rev=11
This commit is contained in:
parent
8470c45d0f
commit
a1eb98374b
1
baselibs.conf
Normal file
1
baselibs.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
libevent-2_0-5
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 3 13:59:36 UTC 2011 - friseer@gmx.de
|
||||||
|
|
||||||
|
- spec mods
|
||||||
|
o libsoname macro
|
||||||
|
o name macro
|
||||||
|
- added baselibs.conf
|
||||||
|
- rpmlint
|
||||||
|
o fix self obsoletes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 22 11:51:31 UTC 2011 - dimstar@opensuse.org
|
Mon Mar 22 11:51:31 UTC 2011 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -15,37 +15,37 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: libevent
|
Name: libevent
|
||||||
|
%define libsoname %{name}-2_0-5
|
||||||
|
|
||||||
Version: 2.0.10
|
Version: 2.0.10
|
||||||
Release: 1
|
Release: 1
|
||||||
License: BSD3c(or similar)
|
License: BSD3c(or similar)
|
||||||
Summary: Library Providing an Event Handling API
|
Summary: Library Providing an Event Handling API
|
||||||
Url: http://monkey.org/~provos/libevent/
|
Url: http://monkey.org/~provos/libevent/
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Source: http://monkey.org/~provos/libevent-%{version}-stable.tar.bz2
|
Source0: http://monkey.org/~provos/libevent-%{version}-stable.tar.bz2
|
||||||
|
Source1: baselibs.conf
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
PreReq: %fillup_prereq
|
PreReq: %fillup_prereq
|
||||||
PreReq: %insserv_prereq
|
PreReq: %insserv_prereq
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%define debug_package_requires %{libsoname} = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The libevent library provides a mechanism to execute a function when a
|
The libevent library provides a mechanism to execute a function when a
|
||||||
specific event on a file descriptor occurs or after a given time has
|
specific event on a file descriptor occurs or after a given time has
|
||||||
passed.
|
passed.
|
||||||
|
|
||||||
%define library_name libevent-2_0-5
|
|
||||||
%define debug_package_requires %{library_name} = %{version}-%{release}
|
|
||||||
|
|
||||||
%package -n libevent-2_0-5
|
%package -n %{libsoname}
|
||||||
License: BSD3c(or similar)
|
License: BSD3c(or similar)
|
||||||
Summary: Shared libraries from libevent
|
Summary: Shared libraries from libevent
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Provides: %{name} = %{version}
|
Provides: %{name} = %{version}
|
||||||
Obsoletes: %{name} <= %{version}
|
Obsoletes: %{name} < %{version}
|
||||||
|
|
||||||
%description -n libevent-2_0-5
|
%description -n %{libsoname}
|
||||||
The libevent library provides a mechanism to execute a function when a
|
The libevent library provides a mechanism to execute a function when a
|
||||||
specific event on a file descriptor occurs or after a given time has
|
specific event on a file descriptor occurs or after a given time has
|
||||||
passed.
|
passed.
|
||||||
@ -56,7 +56,7 @@ This package holds the shared libraries for libevent.
|
|||||||
License: BSD3c(or similar)
|
License: BSD3c(or similar)
|
||||||
Summary: Development files for libevent2
|
Summary: Development files for libevent2
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{library_name} = %{version}
|
Requires: %{libsoname} = %{version}
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
Provides: %{name}:/usr/include/event.h
|
Provides: %{name}:/usr/include/event.h
|
||||||
# Both have /usr/include/event.h
|
# Both have /usr/include/event.h
|
||||||
@ -83,27 +83,26 @@ find %{buildroot}%{_libdir} -name "*.la" -delete -print
|
|||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%post -n %{library_name} -p /sbin/ldconfig
|
%post -n %{libsoname} -p /sbin/ldconfig
|
||||||
|
%postun -n %{libsoname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{library_name} -p /sbin/ldconfig
|
%files -n %{libsoname}
|
||||||
|
|
||||||
%files -n %{library_name}
|
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/libevent-2.0.so.5*
|
%{_libdir}/%{name}-2.0.so.5*
|
||||||
%{_libdir}/libevent_core-2.0.so.5*
|
%{_libdir}/%{name}_core-2.0.so.5*
|
||||||
%{_libdir}/libevent_extra-2.0.so.5*
|
%{_libdir}/%{name}_extra-2.0.so.5*
|
||||||
%{_libdir}/libevent_pthreads-2.0.so.5*
|
%{_libdir}/%{name}_pthreads-2.0.so.5*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/event_rpcgen.py
|
%{_bindir}/event_rpcgen.py
|
||||||
%{_includedir}/*.h
|
%{_includedir}/*.h
|
||||||
%{_includedir}/event2
|
%{_includedir}/event2
|
||||||
%{_libdir}/libevent.so
|
%{_libdir}/%{name}.so
|
||||||
%{_libdir}/libevent_core.so
|
%{_libdir}/%{name}_core.so
|
||||||
%{_libdir}/libevent_extra.so
|
%{_libdir}/%{name}_extra.so
|
||||||
%{_libdir}/libevent_pthreads.so
|
%{_libdir}/%{name}_pthreads.so
|
||||||
%{_libdir}/pkgconfig/libevent.pc
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
%{_libdir}/pkgconfig/libevent_pthreads.pc
|
%{_libdir}/pkgconfig/%{name}_pthreads.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user