Group :: Sistema/Bibliotecas
RPM: libcddb
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%def_disable static
Name: libcddb
Version: 0.9.4
Release: alt2
Summary: Libcddb is a C library to access data on a CDDB server
License: GPL
Group: System/Libraries
Url: http://libcddb.sourceforge.net
Source: http://prdownloads.sourceforge.net/%name/%name-%version.tar.gz
BuildPreReq: kernel-headers-std
%if_enabled static
# Automatically added by buildreq on Tue Jan 06 2004
BuildRequires: glibc-devel-static
%endif
%description
Libcddb is a C library to access data on a CDDB server (freedb.org).
It allows to:
1. search the database for possible CD matches
2. retrieve detailed information about a specific CD
3. submit new CD entries to the database
%package devel
Summary: Headers for developing programs that will use %name
Group: Development/C
Requires: %name = %version-%release
%description devel
This package contains the headers that programmers will need to develop
applications which will use %name.
%package devel-static
Summary: Static version of %name
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
This package contains the libraries to develop applications statically
linked against %name.
%package examples
Summary: Simple application that use %name
Group: Development/C
Requires: %name = %version-%release
%description examples
This package contains the cddb_query is a simple app that use %name.
%prep
%setup -q
%build
%configure \
%{subst_enable static}
%make_build
%install
%makeinstall
%make -C examples clean
%__rm -rf examples/{.deps,Makefile}
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/*.so.*
%files devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%doc AUTHORS ChangeLog NEWS THANKS README
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%files examples
%_bindir/*
%doc examples
%changelog
…
Todas as alterações você pod ver aqui
Name: libcddb
Version: 0.9.4
Release: alt2
Summary: Libcddb is a C library to access data on a CDDB server
License: GPL
Group: System/Libraries
Url: http://libcddb.sourceforge.net
Source: http://prdownloads.sourceforge.net/%name/%name-%version.tar.gz
BuildPreReq: kernel-headers-std
%if_enabled static
# Automatically added by buildreq on Tue Jan 06 2004
BuildRequires: glibc-devel-static
%endif
%description
Libcddb is a C library to access data on a CDDB server (freedb.org).
It allows to:
1. search the database for possible CD matches
2. retrieve detailed information about a specific CD
3. submit new CD entries to the database
%package devel
Summary: Headers for developing programs that will use %name
Group: Development/C
Requires: %name = %version-%release
%description devel
This package contains the headers that programmers will need to develop
applications which will use %name.
%package devel-static
Summary: Static version of %name
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
This package contains the libraries to develop applications statically
linked against %name.
%package examples
Summary: Simple application that use %name
Group: Development/C
Requires: %name = %version-%release
%description examples
This package contains the cddb_query is a simple app that use %name.
%prep
%setup -q
%build
%configure \
%{subst_enable static}
%make_build
%install
%makeinstall
%make -C examples clean
%__rm -rf examples/{.deps,Makefile}
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/*.so.*
%files devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%doc AUTHORS ChangeLog NEWS THANKS README
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%files examples
%_bindir/*
%doc examples
%changelog
…
Todas as alterações você pod ver aqui