diff --git a/README.md b/README.md index 70e7b45..92bb8c5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # kccmp +kccmp is a simple QT tool for comparing two linux kernel ".config" files. + +It has the following features: +- displays the configuration variables with different values in a table form +- displays the configuration variables and values which are found in only one of the compared files + diff --git a/kccmp-0.2-qt4.patch b/kccmp-0.2-qt4.patch new file mode 100644 index 0000000..3b7449a --- /dev/null +++ b/kccmp-0.2-qt4.patch @@ -0,0 +1,11 @@ +diff -Nru kccmp-0.2.orig/kccmp.pro kccmp-0.2/kccmp.pro +--- kccmp-0.2.orig/kccmp.pro 2005-10-01 07:02:56.000000000 +0200 ++++ kccmp-0.2/kccmp.pro 2009-06-08 13:55:36.000000000 +0200 +@@ -4,6 +4,6 @@ + CONFIG += warn_on debug + OBJECTS_DIR = obj + # Uncomment the following for Qt 4 support +-#DEFINES += KCCMP_QT_4 ++DEFINES += KCCMP_QT_4 + LIBS += -lboost_regex + #MOC_DIR = diff --git a/kccmp.spec b/kccmp.spec new file mode 100644 index 0000000..47ad914 --- /dev/null +++ b/kccmp.spec @@ -0,0 +1,86 @@ +Name: kccmp +Version: 0.3 +Release: 1mamba +Summary: A simple QT tool for comparing two linux kernel ".config" files +Group: Graphical Desktop/Applications/Development +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://stoopidsimple.com/kccmp +Source: http://stoopidsimple.com/files/%{name}-%{version}.tar.gz +Patch0: %{name}-0.2-qt4.patch +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libboost-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgcc +BuildRequires: libglib-devel +BuildRequires: libICE-devel +BuildRequires: libpng-devel +BuildRequires: libqt4-devel +BuildRequires: libSM-devel +BuildRequires: libstdc++6-devel +BuildRequires: libX11-devel +BuildRequires: libXext-devel +BuildRequires: libXfixes-devel +BuildRequires: libXinerama-devel +BuildRequires: libXrender-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END + +%description +kccmp is a simple QT tool for comparing two linux kernel ".config" files. + +It has the following features: +- displays the configuration variables with different values in a table form +- displays the configuration variables and values which are found in only one of the compared files + +%prep +%setup -q +#%patch0 -p1 + +%build +qmake-qt4 +#sed -i "s|-lqt|-lqt-mt|" Makefile +make + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +install -D -m0755 kccmp %{buildroot}%{_bindir}/kccmp + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%{_bindir}/kccmp +%doc README + +%changelog +* Wed Sep 19 2012 Automatic Build System 0.3-1mamba +- automatic version update by autodist + +* Tue Dec 14 2010 Automatic Build System 0.2-7mamba +- automatic rebuild by autodist + +* Sun Jun 13 2010 Automatic Build System 0.2-6mamba +- automatic rebuild by autodist + +* Mon Jun 08 2009 Automatic Build System 0.2-5mamba +- automatic rebuild by autodist +- switched to qt4 + +* Fri Oct 19 2007 Silvan Calarco 0.2-4mamba +- rebuild with libboost 1.34.1 + +* Sat Jul 07 2007 Silvan Calarco 0.2-3mamba +- rebuilt against libboost-1.34.0 + +* Thu May 03 2007 Silvan Calarco 0.2-2mamba +- rebuilt + +* Fri Nov 25 2005 Silvan Calarco 0.2-1qilnx +- package created by autospec