Группа :: System/Legacy libraries
Пакет: libyajl1
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# vim: set ft=spec : -*- rpm-spec -*-
%{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects}
Name: libyajl1
Version: 1.0.11
Release: alt3.2
Summary: Yet Another JSON Library
Group: System/Legacy libraries
License: BSD
Url: http://github.com/lloyd/yajl
Source: %name-%version.tar
Patch: %name-%version-%release.patch
BuildRequires(pre): rpm-macros-cmake
BuildRequires: cmake
%description
Yet Another JSON Library (YAJL).
%package -n %name-devel
Summary: Yet Another JSON Library (development headers)
Group: Development/C
Requires: %name = %version-%release
Conflicts: libyajl-devel
%description -n %name-devel
Development headers for Yet Another JSON Library (YAJL).
%prep
%setup
%patch -p1
%build
%cmake
%cmake_build
%install
%cmake_install
%files
%_libdir/libyajl.so.*
%files -n %name-devel
%_includedir/yajl
%_libdir/libyajl.so
%changelog
…
Полный changelog можно просмотреть здесь
%{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects}
Name: libyajl1
Version: 1.0.11
Release: alt3.2
Summary: Yet Another JSON Library
Group: System/Legacy libraries
License: BSD
Url: http://github.com/lloyd/yajl
Source: %name-%version.tar
Patch: %name-%version-%release.patch
BuildRequires(pre): rpm-macros-cmake
BuildRequires: cmake
%description
Yet Another JSON Library (YAJL).
%package -n %name-devel
Summary: Yet Another JSON Library (development headers)
Group: Development/C
Requires: %name = %version-%release
Conflicts: libyajl-devel
%description -n %name-devel
Development headers for Yet Another JSON Library (YAJL).
%prep
%setup
%patch -p1
%build
%cmake
%cmake_build
%install
%cmake_install
%files
%_libdir/libyajl.so.*
%files -n %name-devel
%_includedir/yajl
%_libdir/libyajl.so
%changelog
…
Полный changelog можно просмотреть здесь