From 7eec3014c23f2c8ba69c23b71e772ae9d5b8257d Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 05:02:53 +0100 Subject: [PATCH] automatic version update by autodist [release 5.0.0git20160605-1mamba;Thu Oct 06 2016] --- README.md | 2 ++ libmediawiki.spec | 86 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 libmediawiki.spec diff --git a/README.md b/README.md index 256861e..52a469b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libmediawiki +This framework provides accecss to the API of MediaWiki sites. + diff --git a/libmediawiki.spec b/libmediawiki.spec new file mode 100644 index 0000000..422b127 --- /dev/null +++ b/libmediawiki.spec @@ -0,0 +1,86 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: libmediawiki +Version: 5.0.0git20160605 +Release: 1mamba +Summary: KDE Frameworks 5 framework that provides accecss to the API of MediaWiki sites +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.kde.org +## GITSOURCE git://anongit.kde.org/libmediawiki.git master +Source: git://anongit.kde.org/libmediawiki.git/master/libmediawiki-%{version}.tar.bz2 +# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libkcoreaddons-devel +BuildRequires: libqt5-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: rpm-macros-kde5 +BuildRequires: extra-cmake-modules +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This framework provides accecss to the API of MediaWiki sites. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%cmake_kde5 -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +/sbin/ldconfig +exit 0 + +%postun +/sbin/ldconfig +exit 0 + +%files +%defattr(-,root,root) +%{_kde5_libdir}/libKF5MediaWiki.so.* +%doc AUTHORS COPYING COPYING.LIB + +%files devel +%defattr(-,root,root) +%dir %{_kde5_includedir}/MediaWiki +%{_kde5_includedir}/MediaWiki/* +%{_kde5_includedir}/mediawiki_version.h +%dir %{_kde5_libdir}/cmake/KF5MediaWiki +%{_kde5_libdir}/cmake/KF5MediaWiki/KF5MediaWiki*.cmake +%{_kde5_libdir}/libKF5MediaWiki.so +%{_libdir}/qt5/mkspecs/modules/qt_MediaWiki.pri + +%changelog +* Thu Oct 06 2016 Automatic Build System 5.0.0git20160605-1mamba +- automatic version update by autodist + +* Tue Oct 04 2016 Silvan Calarco 5.0.0.20161002git-2mamba +- fix requirement in devel package + +* Sun Oct 02 2016 Silvan Calarco 5.0.0.20161002git-1mamba +- package created using the webbuild interface