diff --git a/README.md b/README.md index 3a38f25..521cfe2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libmygpo-qt +A library supporting gpodder.net Podcast Directory. + diff --git a/libmygpo-qt-1.0.7-pkgconfig.patch b/libmygpo-qt-1.0.7-pkgconfig.patch new file mode 100644 index 0000000..1bbe6dc --- /dev/null +++ b/libmygpo-qt-1.0.7-pkgconfig.patch @@ -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 diff --git a/libmygpo-qt.spec b/libmygpo-qt.spec new file mode 100644 index 0000000..2c3b02a --- /dev/null +++ b/libmygpo-qt.spec @@ -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 +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 1.0.7-2mamba +- fix include dir in pkgconfig file + +* Mon Apr 15 2013 Automatic Build System 1.0.7-1mamba +- automatic version update by autodist + +* Sun Oct 14 2012 Davide Madrisan 1.0.6-1mamba +- update to 1.0.6 + +* Mon Jan 30 2012 Silvan Calarco 1.0.5-1mamba +- update to 1.0.5 + +* Tue Sep 20 2011 Silvan Calarco 1.0.4-1mamba +- package created by autospec