package created using the webbuild interface [release 22.04.0-1mamba;Sun Apr 24 2022]
This commit is contained in:
parent
877bf20aa2
commit
5f7bc86aac
@ -1,2 +1,4 @@
|
||||
# kopeninghours
|
||||
|
||||
A library for parsing and evaluating OSM opening hours expressions.
|
||||
|
||||
|
86
kopeninghours.spec
Normal file
86
kopeninghours.spec
Normal file
@ -0,0 +1,86 @@
|
||||
Name: kopeninghours
|
||||
Version: 22.04.0
|
||||
Release: 1mamba
|
||||
Summary: A library for parsing and evaluating OSM opening hours expressions
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://api.kde.org/kopeninghours/html/index.html
|
||||
Source: http://mirror.freedif.org/KDE/ftp/stable/release-service/%{version}/src/kopeninghours-%{version}.tar.xz
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libkholidays-devel
|
||||
BuildRequires: libki18n-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: qt5-qtdeclarative-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: cmake
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description
|
||||
A library for parsing and evaluating OSM opening hours expressions.
|
||||
|
||||
%package -n lib%{name}
|
||||
Group: System/Libraries
|
||||
Summary: Shared libraries for %{name}
|
||||
|
||||
%description -n lib%{name}
|
||||
This package contains shared libraries for %{name}.
|
||||
|
||||
%package -n lib%{name}-devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description -n lib%{name}-devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake -d build
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall -C build
|
||||
|
||||
%find_lang %{name} || touch %{name}.lang
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
%files -n lib%{name} -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libKOpeningHours.so.*
|
||||
%dir %{_libdir}/qt5/qml/org/kde/kopeninghours
|
||||
%{_libdir}/qt5/qml/org/kde/kopeninghours/*
|
||||
%{_datadir}/qlogging-categories5/org_kde_kopeninghours.categories
|
||||
%doc LICENSES
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/KOpeningHours
|
||||
%{_includedir}/KOpeningHours/*
|
||||
%dir %{_includedir}/kopeninghours
|
||||
%{_includedir}/kopeninghours/*
|
||||
%{_includedir}/kopeninghours_version.h
|
||||
%{_libdir}/libKOpeningHours.so
|
||||
%dir %{_libdir}/cmake/KOpeningHours
|
||||
%{_libdir}/cmake/KOpeningHours/KOpeningHours*.cmake
|
||||
%doc README.md README.md.license
|
||||
|
||||
%changelog
|
||||
* Sun Apr 24 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 22.04.0-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user