File libpcd.spec of Package libpcd
#
# spec file for package libpcd (Version 1.0.1)
#
# Copyright (c) 2004 SuSE Linux AG, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#
# norootforbuild
# usedforbuild aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv kbd less libacl libattr libgcc libstdc++ libxcrypt m4 make man mktemp modutils ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-devel pam-modules patch permissions popt ps rcs readline sed sendmail shadow strace syslogd sysvinit tar texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils cracklib gcc gdbm gettext libtool perl rpm
Name: libpcd
URL: http://bytesex.org/libpcd.html
License: GPL
Group: Development/Libraries/C and C++
Version: 1.0.1
Release: 70
Summary: library for reading PhotoCD images
Source: %{name}_%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%package devel
Group: Development/Libraries/C and C++
Summary: library for reading PhotoCD images - devel package
Requires: %{name} = %{version}
%description
library for reading PhotoCD images
Authors:
--------
Gerd Knorr <kraxel@suse.de>
%description devel
header files, static library, ...
Authors:
--------
Gerd Knorr <kraxel@suse.de>
%prep
%setup -q
%build
make prefix="/usr" \
libdir="%{_libdir}" \
CFLAGS="$RPM_OPT_FLAGS" \
all
%install
make prefix="/usr" \
DESTDIR="%{buildroot}" \
libdir="%{buildroot}%{_libdir}" \
CFLAGS="$RPM_OPT_FLAGS" \
install
%post
%run_ldconfig
%postun
%run_ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libpcd.so.*
%doc README
%files devel
%defattr(-,root,root)
/usr/include/pcd.h
%{_libdir}/libpcd.a
%{_libdir}/libpcd.so
%doc README pcd.html pcd.css
%clean
if test "%{buildroot}" != ""; then
rm -rf "%{buildroot}"
fi
%changelog -n libpcd
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Jan 11 2004 - adrian@suse.de
- add %%run_ldconfig
* Tue Jul 22 2003 - kraxel@suse.de
- update to version 1.0.1 (64bit fixes).
* Mon Aug 12 2002 - kraxel@suse.de
- fixwed Requires: for the -devel package.
* Tue Apr 16 2002 - kraxel@suse.de
- initial package (version 1.0)