Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:knirav:Evo_11.2
libtevent
libtalloc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libtalloc.spec of Package libtevent
# # spec file for package samba-libs (Version 4.0.0) # # Copyright (c) 2007 Suman Manjunath # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild %define samba_version 4.0.0 %define samba_alpha alpha8 %define _pkgname libtalloc %define _libpkgname libtalloc1 %define _pkgversion 1.3.1 %define _source_dirname talloc %define _has_binary 0 %define _has_manpage 1 %define _has_py_module 0 BuildRequires: python-devel %if %{_pkgname} == "libtevent" BuildRequires: libtalloc-devel %endif Name: %{_pkgname} Version: 4.0.0 Release: 1 Summary: Samba external libraries Group: Productivity/Networking/Samba License: LGPL v3 or later Source: samba-%{version}%{samba_alpha}.tar.bz2 Url: http://www.samba.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: %{_libpkgname} = %{_pkgversion} %description This is a meta-package to provide the Samba external libraries. Authors: -------- The Samba Team <samba@samba.org> %package -n %{_libpkgname} Version: %{_pkgversion} Release: 1 License: LGPL v3 or later Summary: A generic summary for the Samba external libraries Group: Productivity/Networking/Samba AutoReqProv: on %description -n %{_libpkgname} A generic description for the Samba external libraries. This can be replaced with more specific details for each of the external libraries. Authors: -------- The Samba Team <samba@samba.org> %package -n %{_pkgname}-devel Version: %{_pkgversion} Release: 1 License: LGPL v3 or later Summary: A generic summary for the Samba external libraries Group: Development/Libraries/C and C++ Requires: %{_libpkgname} = %{_pkgversion} AutoReqProv: on %description -n %{_pkgname}-devel A generic description for the Samba external libraries. This can be replaced with more specific details for each of the external libraries. Authors: -------- The Samba Team <samba@samba.org> %prep %setup -n samba-%{samba_version}%{samba_alpha} %build export CFLAGS="$RPM_OPT_FLAGS -fpie" export CXXFLAGS="$RPM_OPT_FLAGS -fpie" export FFLAGS="$RPM_OPT_FLAGS -fpie" cd ./lib/%{_source_dirname} ./autogen.sh %{configure} %{__make} cd ../.. %install cd ./lib/%{_source_dirname} %{makeinstall} cd ../.. # bug in samba - installs this file with a executable permission %{__chmod} -x $RPM_BUILD_ROOT/%{_libdir}/*.a %post -n %{_libpkgname} /sbin/ldconfig %postun -n %{_libpkgname} /sbin/ldconfig %post /sbin/ldconfig %postun /sbin/ldconfig %clean %{__rm} -rf $RPM_BUILD_ROOT %files -n %{_libpkgname} %defattr(-,root,root) %{_libdir}/*.so.* %if %{_has_binary} %{_bindir}/* %endif %files -n %{_pkgname}-devel %defattr(-,root,root) %{_includedir}/*.h %{_libdir}/*.a %{_libdir}/pkgconfig/*.pc %if %{_has_manpage} %{_mandir}/man?/* %endif %if %{_has_py_module} %{_libdir}/python*/site-packages/*.so %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor