LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File libffmpeg-devel-Factory.spec of Package libffmpeg-devel-Factory (Project home:RedDwarf:fakePackman)

Name:           libffmpeg-devel
URL:            http://build.opensuse.org/
License:        Contact author
Group:          Development/Libraries
Version:        20010101
Release:        1
Summary:        Fake libffmpeg-devel
%ifarch i586
Source0:        http://build.opensuse.org/libffmpeg-devel-i586-Factory.tar.bz2
%else %ifarch x86_64
Source0:        http://build.opensuse.org/libffmpeg-devel-x86_64-Factory.tar.bz2
BuildRequires:  pkg-config

This version is modified to remove any real code.

%setup -qc

%{__make} CFLAGS="$RPM_OPT_FLAGS" %{?jobs:-j%jobs}

cp -a * %{buildroot}
rm -f %{buildroot}/Makefile
find %{buildroot} -name '*.orig' -delete

# Every file minus those already available in the filesystem package
rpm -ql filesystem > .filesystemlist
find %{buildroot} -mindepth 1 | sed 's:%{buildroot}::' > .rpmlist
sort .rpmlist .filesystemlist | uniq -d > .duplist
sort .rpmlist .duplist | uniq -u > %{name}.files
%{__rm} -f .filesystemlist .duplist .rpmlist

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files -f %{name}.files
%defattr(-, root, root, 0755)

* Mon Jan 01 2001 Me
- converted by packman2obs.sh from Packman version