File liba52-devel-Factory.spec of Package liba52-devel-Factory

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

%description
liba52-devel
This version is modified to remove any real code.

%prep
%setup -qc

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

%install
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)

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