install headers at %_includedir/mygpo-qt5 [release 1.1.0-3mamba;Wed Aug 28 2024]
This commit is contained in:
parent
74db311274
commit
6547f3ff8b
@ -1,8 +0,0 @@
|
|||||||
--- libmygpo-qt.1.0.8/libmygpo-qt.pc.in.orig 2014-05-04 01:28:05.000000000 +0200
|
|
||||||
+++ libmygpo-qt.1.0.8/libmygpo-qt.pc.in 2014-08-31 15:33:52.812984229 +0200
|
|
||||||
@@ -10,4 +10,4 @@
|
|
||||||
Requires: Qt@MYGPO_QT_MAJOR_VERSION@Core Qt@MYGPO_QT_MAJOR_VERSION@Network
|
|
||||||
@MYGPO_QT4_QJSON_DEP@
|
|
||||||
Libs: -L${libdir} -lmygpo-qt@MYGPO_QT_VERSION_SUFFIX@
|
|
||||||
-Cflags: -I${includedir}
|
|
||||||
+Cflags: -I${includedir}/mygpo-qt
|
|
@ -1,24 +1,21 @@
|
|||||||
Name: libmygpo-qt
|
Name: libmygpo-qt
|
||||||
Version: 1.1.0
|
Version: 1.1.0
|
||||||
Release: 2mamba
|
Release: 3mamba
|
||||||
Summary: A library supporting gpodder.net Podcast Directory
|
Summary: A library supporting gpodder.net Podcast Directory
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://wiki.gpodder.org/wiki/Libmygpo-qt
|
URL: https://github.com/gpodder/libmygpo-qt
|
||||||
Source: http://stefan.derkits.at/files/libmygpo-qt/libmygpo-qt.%{version}.tar.gz
|
Source: http://stefan.derkits.at/files/libmygpo-qt/libmygpo-qt.%{version}.tar.gz
|
||||||
Patch0: libmygpo-qt-1.0.8-pkgconfig.patch
|
|
||||||
License: LGPL
|
License: LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libqt5-devel
|
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: qt5-qtbase-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Provides: libmyqpo-qt
|
Obsoletes: libmyqpo-qt < 1.1.0-2mamba
|
||||||
Obsoletes: libmyqpo-qt
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A library supporting gpodder.net Podcast Directory.
|
A library supporting gpodder.net Podcast Directory.
|
||||||
@ -27,22 +24,20 @@ A library supporting gpodder.net Podcast Directory.
|
|||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: Static libraries and headers for %{name}
|
Summary: Static libraries and headers for %{name}
|
||||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Provides: libmyqpo-qt-devel
|
Obsoletes: libmyqpo-qt-devel < 1.1.0-2mamba
|
||||||
Obsoletes: libmyqpo-qt-devel
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
A library supporting gpodder.net Podcast Directory.
|
A library supporting gpodder.net Podcast Directory.
|
||||||
This package contains static libraries and header files need for development.
|
This package contains static libraries and header files needed for development.
|
||||||
|
|
||||||
%debug_package
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}.%{version}
|
%setup -q -n %{name}.%{version}
|
||||||
#%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -d build \
|
%cmake -d build \
|
||||||
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/mygpo-qt
|
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/mygpo-qt5
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
@ -63,8 +58,8 @@ This package contains static libraries and header files need for development.
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_includedir}/mygpo-qt
|
%dir %{_includedir}/mygpo-qt5
|
||||||
%{_includedir}/mygpo-qt/*.h
|
%{_includedir}/mygpo-qt5/*.h
|
||||||
%{_libdir}/libmygpo-qt5.so
|
%{_libdir}/libmygpo-qt5.so
|
||||||
%{_libdir}/pkgconfig/libmygpo-qt5.pc
|
%{_libdir}/pkgconfig/libmygpo-qt5.pc
|
||||||
%dir %{_libdir}/cmake/mygpo-qt5
|
%dir %{_libdir}/cmake/mygpo-qt5
|
||||||
@ -72,6 +67,9 @@ This package contains static libraries and header files need for development.
|
|||||||
%doc README
|
%doc README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 28 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-3mamba
|
||||||
|
- install headers at %_includedir/mygpo-qt5
|
||||||
|
|
||||||
* Fri Nov 22 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-2mamba
|
* Fri Nov 22 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-2mamba
|
||||||
- remove past patch to fix pkgconfig
|
- remove past patch to fix pkgconfig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user