!1 add package

Merge pull request !1 from 王冕/master
This commit is contained in:
openeuler-ci-bot 2020-07-23 10:11:00 +08:00 committed by Gitee
commit 60dc5e4c89
2 changed files with 66 additions and 0 deletions

BIN
attica-0.4.2.tar.bz2 Normal file

Binary file not shown.

66
attica.spec Normal file
View File

@ -0,0 +1,66 @@
Name: attica
Version: 0.4.2
Release: 17%{?dist}
Summary: Implementation of the Open Collaboration Services API
License: LGPLv2+
URL: http://www.kde.org
Source0: http://download.kde.org/stable/attica/attica-%{version}.tar.bz2
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
BuildRequires: pkgconfig(QtNetwork) >= 4.7
%description
Attica is a Qt library that implements the Open Collaboration Services
API version 1.4.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
%{summary}.
%prep
%setup -q
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake} .. \
-DQT4_BUILD:BOOL=ON
popd
make %{?_smp_mflags} -C %{_target_platform}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%check
# verify pkg-config sanitry/version
export PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig
test "$(pkg-config --modversion libattica)" = "%{version}"
%ldconfig_scriptlets
%files
%doc AUTHORS README
%doc ChangeLog
%license COPYING
%{_libdir}/libattica.so.0.4*
%files devel
%{_includedir}/attica/
%{_libdir}/libattica.so
%{_libdir}/pkgconfig/libattica.pc
%changelog
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild