Group :: Sistema/Bibliotecas
RPM: libmtp
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: libmtp
Version: 0.1.5
Release: alt0.1
Packager: Dmitriy Khanzhin <jinn at altlinux.ru>
Summary: a library for accessing Media Transfer Protocol devices
License: LGPL
Group: System/Libraries
Url: http://libmtp.sourceforge.net/
Source: http://prdownloads.sourceforge.net/%name/%name-%version.tar.gz
Requires: common-licenses udev
# Automatically added by buildreq on Wed Apr 04 2007
BuildRequires: gcc-c++ libusb-devel doxygen
%package -n %name-devel
Summary: %name development environment
Group: Development/C
Requires: %name = %version-%release
%description
libmtp is a LGPL library implementation of the Media Transfer Protocol (MTP),
a superset of the Picture Transfer Protocol (PTP).
%description -n %name-devel
a headers file and other development files for libmtp.
%prep
%setup
%build
%__aclocal -I m4
%__autoconf
%__automake
%configure
%make_build
%install
%make DESTDIR=%buildroot install
%__bzip2 -9 ChangeLog
%__install -D -m644 %name.rules %buildroot%_sysconfdir/udev/rules.d/%name.rules
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_bindir/*
%_libdir/*.so.*
%_sysconfdir/udev/rules.d/%name.rules
%doc AUTHORS ChangeLog* README TODO
%files -n %name-devel
%_includedir/*
%_libdir/pkgconfig/*
%_libdir/*.so
%doc doc/html
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.1.5
Release: alt0.1
Packager: Dmitriy Khanzhin <jinn at altlinux.ru>
Summary: a library for accessing Media Transfer Protocol devices
License: LGPL
Group: System/Libraries
Url: http://libmtp.sourceforge.net/
Source: http://prdownloads.sourceforge.net/%name/%name-%version.tar.gz
Requires: common-licenses udev
# Automatically added by buildreq on Wed Apr 04 2007
BuildRequires: gcc-c++ libusb-devel doxygen
%package -n %name-devel
Summary: %name development environment
Group: Development/C
Requires: %name = %version-%release
%description
libmtp is a LGPL library implementation of the Media Transfer Protocol (MTP),
a superset of the Picture Transfer Protocol (PTP).
%description -n %name-devel
a headers file and other development files for libmtp.
%prep
%setup
%build
%__aclocal -I m4
%__autoconf
%__automake
%configure
%make_build
%install
%make DESTDIR=%buildroot install
%__bzip2 -9 ChangeLog
%__install -D -m644 %name.rules %buildroot%_sysconfdir/udev/rules.d/%name.rules
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_bindir/*
%_libdir/*.so.*
%_sysconfdir/udev/rules.d/%name.rules
%doc AUTHORS ChangeLog* README TODO
%files -n %name-devel
%_includedir/*
%_libdir/pkgconfig/*
%_libdir/*.so
%doc doc/html
%changelog
…
Todas as alterações você pod ver aqui