diff --git a/README.md b/README.md index 9ae7472..12746ee 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libindicate-qt +Qt bindings for libindicate. + diff --git a/libindicate-qt-0.2.5.91-libindicate-0.7.patch b/libindicate-qt-0.2.5.91-libindicate-0.7.patch new file mode 100644 index 0000000..abecbbd --- /dev/null +++ b/libindicate-qt-0.2.5.91-libindicate-0.7.patch @@ -0,0 +1,11 @@ +--- libindicate-qt-0.2.5.91.orig/CMakeLists.txt ++++ libindicate-qt-0.2.5.91/CMakeLists.txt +@@ -17,7 +17,7 @@ find_package(PkgConfig REQUIRED) + + add_definitions(-Wall) + +-pkg_check_modules(INDICATE REQUIRED indicate-0.5) ++pkg_check_modules(INDICATE REQUIRED indicate-0.7) + + include_directories( + ${QT_INCLUDE_DIR} \ No newline at end of file diff --git a/libindicate-qt.spec b/libindicate-qt.spec new file mode 100644 index 0000000..21d94d4 --- /dev/null +++ b/libindicate-qt.spec @@ -0,0 +1,80 @@ +Name: libindicate-qt +Version: 0.2.5.91 +Release: 1mamba +Summary: Qt bindings for libindicate +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://launchpad.net/libindicate-qt +Source: https://launchpad.net/libindicate-qt/libindicate-0.5/%{version}/+download/libindicate-qt-%{version}.tar.bz2 +Patch0: libindicate-qt-0.2.5.91-libindicate-0.7.patch +License: GPL +BuildRequires: cmake +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libdbus-devel +BuildRequires: libdbus-glib-devel +BuildRequires: libgcc +BuildRequires: libglib-devel +BuildRequires: libindicate-devel +BuildRequires: libqt4-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +Requires: libqt4 >= %{_qt4_version} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Qt bindings for libindicate. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +Qt bindings for libindicate. +This package contains static libraries and header files need for development. + +%prep +%setup -q +%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}/libindicate-qt.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/libindicate-qt +%{_libdir}/libindicate-qt.so +%{_libdir}/pkgconfig/indicate-qt.pc +%doc NEWS + +%changelog +* Tue Apr 10 2012 Silvan Calarco 0.2.5.91-1mamba +- update to 0.2.5.91 + +* Tue Apr 10 2012 Silvan Calarco 0.2.5-2mamba +- rebuilt with libindicate 0.6.1 + +* Thu Aug 19 2010 Davide Madrisan 0.2.5-1mamba +- update to 0.2.5 + +* Sat Jan 23 2010 Davide Madrisan 0.2.2-1mamba +- package created by autospec