shared-desktop-ontologies/shared-desktop-ontologies.spec
huayadong eedbd55fa7 remove %{?dist}
(cherry picked from commit 98c4acae630180e72baf3d2c46d42b95b0c2667e)
2021-12-13 14:10:07 +08:00

98 lines
2.8 KiB
RPMSpec
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Name: shared-desktop-ontologies
Version: 0.11.0
Release: 6
Summary: Shared ontologies needed for semantic environments
Group: User Interface/Desktops
# see LICENSE.README
License: (BSD or CC-BY) and CC-BY and W3C
URL: http://oscaf.sourceforge.net/
Source0: http://downloads.sourceforge.net/project/oscaf/shared-desktop-ontologies/%{version}/shared-desktop-ontologies-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: cmake >= 2.6.0
BuildRequires: pkgconfig
%description
The vision of the Social Semantic Desktop defines a users personal
information environment as a source and end-point of the Semantic Web:
Knowledge workers comprehensively express their information and data
with respect to their own conceptualizations.
Semantic Web languages and protocols are used to formalize these
conceptualizations and for coordinating local and global information
access. The Resource Description Framework serves as a common data
representation format. With a particular focus on addressing certain
limitations of RDF, a novel representational language akin to RDF and
the Web Ontology Language, plus a number of other high-level
ontologies were created.
Together, they provide a means to build the semantic bridges necessary
for data exchange and application integration on distributed social
semantic desktops. Although initially designed to fulfill requirements
for the Nepomuk project, these ontologies are useful for the semantic
web community in general.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: cmake
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries
and header files for developing applications
that use %{name}.
%prep
%setup -q
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake} ..
popd
make %{?_smp_mflags} -C %{_target_platform}
%install
rm -rf %{buildroot}
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%check
# verify pkg-config version (notoriously wrong in recent releases)
export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig
test "$(pkg-config --modversion shared-desktop-ontologies)" = "%{version}"
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS README
%doc LICENSE.README
%doc LICENSE.BSD LICENSE.CC-BY LICENSE.DCMI LICENSE.w3c
%{_datadir}/ontology/
%files devel
%defattr(-,root,root,-)
%{_datadir}/cmake/SharedDesktopOntologies/
%{_datadir}/pkgconfig/shared-desktop-ontologies.pc
%changelog
* Mon Dec 13 2021 huayadong <huayadong@kylinos.cn> - 0.11.0-6
- remove %{?dist}
* Thu Jul 23 2020 Zhao Yang <yangzhao1@kylinos.cn> - 0.11.0-5
- Initial release for OpenEuler