Group :: Sistema/Bibliotecas
RPM: libtag-extras
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define rname taglib-extras
Name: libtag-extras
Version: 1.0.1
Release: alt4
Group: System/Libraries
Summary: Unofficial TagLib file type plugins maintained by the Amarok project
Url: http://websvn.kde.org/trunk/kdesupport/taglib-extras/
License: LGPL
Provides: %rname = %version-%release
Obsoletes: %rname < %version-%release
Source: %rname-%version.tar
Source1: FindTaglib.cmake
#Patch0: taglib-extras-0.1-multilib-1.patch
Requires: libtag >= %{get_version libtag}
BuildRequires(pre): libtag-devel
BuildRequires: cmake gcc-c++ libtag-devel >= 1.6 kde-common-devel
%description
Unofficial TagLib file type plugins maintained by the Amarok project
%package devel
Group: Development/C
Summary: Headers and static lib for taglib development
Requires: %name = %version-%release
Provides: %rname-devel = %version-%release
Obsoletes: %rname-devel < %version-%release
%description devel
Install this package if you want do compile applications using the libtag-extras
library.
%prep
%setup -q -n %rname-%version
cat %SOURCE1 > cmake/modules/FindTaglib.cmake
%build
%Kcmake \
-DINCLUDE_INSTALL_DIR=%_includedir
# -DWITH_KDE=1
%Kmake
%install
%Kinstall
%files
%doc AUTHORS ChangeLog
%_libdir/libtag-extras.so.*
%_libdir/libtag-extras.so
%files devel
%_bindir/%rname-config
%_libdir/pkgconfig/%rname.pc
%_includedir/%rname
%changelog
…
Todas as alterações você pod ver aqui
Name: libtag-extras
Version: 1.0.1
Release: alt4
Group: System/Libraries
Summary: Unofficial TagLib file type plugins maintained by the Amarok project
Url: http://websvn.kde.org/trunk/kdesupport/taglib-extras/
License: LGPL
Provides: %rname = %version-%release
Obsoletes: %rname < %version-%release
Source: %rname-%version.tar
Source1: FindTaglib.cmake
#Patch0: taglib-extras-0.1-multilib-1.patch
Requires: libtag >= %{get_version libtag}
BuildRequires(pre): libtag-devel
BuildRequires: cmake gcc-c++ libtag-devel >= 1.6 kde-common-devel
%description
Unofficial TagLib file type plugins maintained by the Amarok project
%package devel
Group: Development/C
Summary: Headers and static lib for taglib development
Requires: %name = %version-%release
Provides: %rname-devel = %version-%release
Obsoletes: %rname-devel < %version-%release
%description devel
Install this package if you want do compile applications using the libtag-extras
library.
%prep
%setup -q -n %rname-%version
cat %SOURCE1 > cmake/modules/FindTaglib.cmake
%build
%Kcmake \
-DINCLUDE_INSTALL_DIR=%_includedir
# -DWITH_KDE=1
%Kmake
%install
%Kinstall
%files
%doc AUTHORS ChangeLog
%_libdir/libtag-extras.so.*
%_libdir/libtag-extras.so
%files devel
%_bindir/%rname-config
%_libdir/pkgconfig/%rname.pc
%_includedir/%rname
%changelog
…
Todas as alterações você pod ver aqui