Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:testing
libdvdread
libdvdread.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libdvdread.spec of Package libdvdread
# # spec file for package libdvdread # # Copyright (c) 2018 SUSE LINUX 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/ # %define so_version 4 Name: libdvdread Version: 0 Release: 0 Summary: Library for Reading DVD Video Images License: GPL-2.0+ Group: Productivity/Multimedia/Other Url: http://www.mplayerhq.hu/ Source0: %{name}-%{version}.tar.xz Source1: baselibs.conf BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: doxygen BuildRequires: pkg-config BuildRequires: pkgconfig(openssl) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package contains shared libraries for accessing DVD images (this package does not contain DeCSS algorithms). %package -n %{name}%{so_version} Summary: Library for Reading DVD Video Images Group: Productivity/Multimedia/Other Provides: %{name} = %{version} %description -n %{name}%{so_version} This package contains shared libraries for accessing DVD images (this package does not contain DeCSS algorithms). %package devel Summary: Development Environment for libdvdread Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: %{name}%{so_version} = %{version} %description devel This package contains the include-files and static libraries for libdvdread. %package devel-static Summary: Development Environment for libdvdread Group: Development/Libraries/C and C++ Requires: %{name}-devel = %{version} %description devel-static This package contains the static libraries for libdvdread. %prep %setup -q %build export CFLAGS="-O2 -Wall -funwind-tables -fasynchronous-unwind-tables -fPIC -fmessage-length=0 -grecord-gcc-switches -fstack-protector -D__STDC_CONSTANT_MACROS -DPIC -D_REENTRANT -DNDEBUG=1 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_XBMC" autoreconf -fiv %configure \ --docdir=%{_docdir}/%{name}%{so_version} \ --enable-static \ --enable-shared \ --with-pic make %{?_smp_mflags} V=1 %install %make_install rm -rf "%{buildroot}%{_docdir}/%{name}%{so_version}/COPYING" # We install the files on our own, using %%doc #for f in AUTHORS COPYING NEWS README TODO ChangeLog #do # rm -rf "%{buildroot}%{_datadir}/doc/%{name}/${f}" #done #mkdir -p "%{buildroot}%{_docdir}/%{name}" #mv "%{buildroot}%{_datadir}/doc/%{name}" "%{buildroot}%{_docdir}/%{name}" %post -n %{name}%{so_version} -p /sbin/ldconfig %postun -n %{name}%{so_version} -p /sbin/ldconfig %files -n %{name}%{so_version} %defattr(-,root,root) %license COPYING %doc AUTHORS NEWS README TODO ChangeLog %{_libdir}/libdvdread.so.%{so_version} %{_libdir}/libdvdread.so.%{so_version}.* %files devel %defattr(-,root,root) %{_includedir}/dvdread %{_libdir}/libdvdread.so %{_libdir}/pkgconfig/dvdread.pc %files devel-static %defattr(-,root,root) %{_libdir}/libdvdread.a %{_libdir}/libdvdread.la %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