Группа :: Разработка/Прочее
Пакет: libobby
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# BEGIN SourceDeps(oneline):
BuildRequires: gcc-c++
# END SourceDeps(oneline)
BuildRequires: libgnutls-devel
%add_optflags %optflags_shared
%define oldname obby
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: libobby
Version: 0.4.8
Release: alt1_13
Summary: A library which provides synced document buffers
Group: Development/Other
License: GPLv2+
URL: http://releases.0x539.de/obby
Source0: http://releases.0x539.de/obby/%{oldname}-%{version}.tar.gz
BuildRequires: libnet6-devel libgmp-devel libgmpxx-devel gettext-tools libasprintf-devel, libavahi-devel
Provides: obby = %{version}-%{release}
%description
libobby is a library which provides synced document buffers. It supports
multiple documents in one session and is portable to both Windows and
Unix-like platforms.
%package devel
Summary: Development libraries for obby
Group: Development/Other
Requires: %{name} = %{version}-%{release}
Requires: pkg-config
Provides: obby-devel = %{version}-%{release}
%description devel
libobby is a library which provides synced document buffers. This package
contains the header files and library required to link against libobby.
%prep
%setup -n %{oldname}-%{version} -q
%build
%add_optflags -std=c++11
%configure --disable-static --enable-ipv6 --with-zeroconf
%make_build
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/*.la
%find_lang %oldname
%files -f %{oldname}.lang
%doc README NEWS COPYING AUTHORS
%{_libdir}/*.so.*
%files devel
%{_includedir}/obby
%{_libdir}/pkgconfig/*
%{_libdir}/*.so
%changelog
…
Полный changelog можно просмотреть здесь
BuildRequires: gcc-c++
# END SourceDeps(oneline)
BuildRequires: libgnutls-devel
%add_optflags %optflags_shared
%define oldname obby
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: libobby
Version: 0.4.8
Release: alt1_13
Summary: A library which provides synced document buffers
Group: Development/Other
License: GPLv2+
URL: http://releases.0x539.de/obby
Source0: http://releases.0x539.de/obby/%{oldname}-%{version}.tar.gz
BuildRequires: libnet6-devel libgmp-devel libgmpxx-devel gettext-tools libasprintf-devel, libavahi-devel
Provides: obby = %{version}-%{release}
%description
libobby is a library which provides synced document buffers. It supports
multiple documents in one session and is portable to both Windows and
Unix-like platforms.
%package devel
Summary: Development libraries for obby
Group: Development/Other
Requires: %{name} = %{version}-%{release}
Requires: pkg-config
Provides: obby-devel = %{version}-%{release}
%description devel
libobby is a library which provides synced document buffers. This package
contains the header files and library required to link against libobby.
%prep
%setup -n %{oldname}-%{version} -q
%build
%add_optflags -std=c++11
%configure --disable-static --enable-ipv6 --with-zeroconf
%make_build
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/*.la
%find_lang %oldname
%files -f %{oldname}.lang
%doc README NEWS COPYING AUTHORS
%{_libdir}/*.so.*
%files devel
%{_includedir}/obby
%{_libdir}/pkgconfig/*
%{_libdir}/*.so
%changelog
…
Полный changelog можно просмотреть здесь