fix include dir in pkgconfig file [release 1.0.7-2mamba;Sat Oct 19 2013]

This commit is contained in:
Silvan Calarco 2024-01-06 05:07:41 +01:00
parent 82fa19ddc1
commit b7cf6af0da
3 changed files with 97 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libmygpo-qt
A library supporting gpodder.net Podcast Directory.

View File

@ -0,0 +1,10 @@
diff -Nru libmygpo-qt.1.0.7.orig/libmygpo-qt.pc.in libmygpo-qt.1.0.7/libmygpo-qt.pc.in
--- libmygpo-qt.1.0.7.orig/libmygpo-qt.pc.in 2013-01-19 12:48:52.000000000 +0100
+++ libmygpo-qt.1.0.7/libmygpo-qt.pc.in 2013-10-19 21:11:40.194181232 +0200
@@ -10,4 +10,4 @@
Requires: QtCore QtNetwork
Requires.private: QJson
Libs: -L${libdir} -lmygpo-qt
-Cflags: -I${includedir}
\ Manca newline alla fine del file
+Cflags: -I${includedir}/mygpo-qt

85
libmygpo-qt.spec Normal file
View File

@ -0,0 +1,85 @@
Name: libmygpo-qt
Version: 1.0.7
Release: 2mamba
Summary: A library supporting gpodder.net Podcast Directory
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://wiki.gpodder.org/wiki/Libmygpo-qt
Source: http://stefan.derkits.at/files/libmygpo-qt/libmygpo-qt.%{version}.tar.gz
Patch0: libmygpo-qt-1.0.7-pkgconfig.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libqjson-devel
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
Provides: libmyqpo-qt
Obsoletes: libmyqpo-qt
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A library supporting gpodder.net Podcast Directory.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libmyqpo-qt-devel
Obsoletes: libmyqpo-qt-devel
%description devel
A library supporting gpodder.net Podcast Directory.
This package contains static libraries and header files need for development.
%prep
%setup -q -n %{name}.%{version}
%patch0 -p1
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libmygpo-qt.so.*
%doc AUTHORS LICENSE
%files devel
%defattr(-,root,root)
%dir %{_includedir}/mygpo-qt
%{_includedir}/mygpo-qt/*.h
%{_libdir}/libmygpo-qt.so
%{_libdir}/pkgconfig/libmygpo-qt.pc
%dir %{_libdir}/cmake/mygpo-qt
%{_libdir}/cmake/mygpo-qt/Mygpo-qt*.cmake
%doc README
%changelog
* Sat Oct 19 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.7-2mamba
- fix include dir in pkgconfig file
* Mon Apr 15 2013 Automatic Build System <autodist@mambasoft.it> 1.0.7-1mamba
- automatic version update by autodist
* Sun Oct 14 2012 Davide Madrisan <davide.madrisan@gmail.com> 1.0.6-1mamba
- update to 1.0.6
* Mon Jan 30 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.5-1mamba
- update to 1.0.5
* Tue Sep 20 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-1mamba
- package created by autospec