attica/attica.spec

81 lines
1.8 KiB
RPMSpec
Raw Permalink Normal View History

2020-07-23 09:37:28 +08:00
Name: attica
Version: 0.4.2
Release: 21
2020-07-23 09:37:28 +08:00
Summary: Implementation of the Open Collaboration Services API
2022-04-25 15:38:02 +08:00
License: Artistic-2.0 and LGPLv2+
2020-07-23 09:37:28 +08:00
URL: http://www.kde.org
Source0: http://download.kde.org/stable/attica/attica-%{version}.tar.bz2
2021-12-21 16:19:56 +08:00
patch1: 0001-Add-auto-generated-files-to-.gitignore.patch
2020-07-23 09:37:28 +08:00
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
%patch 1 -p1
2020-07-23 09:37:28 +08:00
%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 Nov 07 2024 xuguangmin <xuguangmin@kylinos.cn> - 0.4.2-21
- Fix the spec file issue.
2022-04-25 15:38:02 +08:00
* Tue Apr 26 2022 tanyulong <tanyulong@kylinos.cn> - 0.4.2-20
- modify license warning
* Wed Dec 22 2021 tanyulong <tanyulong@kylinos.cn> - 0.4.2-19
2021-12-21 16:19:56 +08:00
- Add auto generated files to .gitignore
* Mon Dec 28 2020 huanghaitao <huanghaitao8@huawei.com> - 0.4.2-18
2020-12-28 18:43:03 +08:00
- Remove the release suffix
2020-07-23 10:32:39 +08:00
* Thu Jul 23 2020 wangmian<wangmian@kylinos.cn> - 0.4.2-17
- Init attica project