rpms/krazy2/F-10 krazy2.spec,1.5,1.6 sources,1.6,1.7
Ben Boeckel
mathstuf at fedoraproject.org
Wed Sep 30 00:15:04 UTC 2009
Author: mathstuf
Update of /cvs/pkgs/rpms/krazy2/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18603
Modified Files:
krazy2.spec sources
Log Message:
Update snapshot and build using kdevplatform
Index: krazy2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/krazy2/F-10/krazy2.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- krazy2.spec 20 Jul 2009 15:56:28 -0000 1.5
+++ krazy2.spec 30 Sep 2009 00:15:04 -0000 1.6
@@ -1,9 +1,6 @@
-# Set to 1 if kdevplatform is available
-%define kdp 0
-
Name: krazy2
Version: 2.9
-Release: 2.20090719svn%{?dist}
+Release: 4.20090928svn%{?dist}
Summary: Krazy is a tool for checking code against the KDE coding guidelines
Group: Development/Libraries
@@ -11,13 +8,11 @@ License: GPLv2+
URL: http://techbase.kde.org/Development/Tutorials/Code_Checking
# The source for this package was pulled from upstream's vcs. Use the
# following commands to generate the tarball:
-# svn export -r 999498 svn://anonsvn.kde.org/home/kde/trunk/quality/krazy2 krazy2-2.8
+# svn export -r 1029034 svn://anonsvn.kde.org/home/kde/trunk/quality/krazy2 krazy2-2.8
# tar -c krazy2-2.9 | bzip2 --best -c > krazy2-2.9.tar.bz2
Source0: krazy2-%{version}.tar.bz2
Source1: krazy-licensecheck
-%if 0%{?kdp}
Patch0: krazy2-prefix.patch
-%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# krazy-licensecheck moved from kdesdk to here in 4.2.0
@@ -29,11 +24,9 @@ BuildRequires: perl(HTML::Parser)
BuildRequires: perl(Tie::IxHash)
BuildRequires: perl(XML::LibXML)
BuildRequires: qt4-devel
-%if 0%{?kdp}
BuildRequires: cmake
BuildRequires: kdelibs4-devel
BuildRequires: kdevplatform-devel
-%endif
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# Krazy2 uses desktop-file-validate, so this is an actual Requires
Requires: desktop-file-utils
@@ -46,9 +39,7 @@ good reason.
%prep
%setup -q
-%if 0%{?kdp}
%patch0
-%endif
%build
@@ -58,18 +49,16 @@ pushd src/passbyvalue
%{_qt4_qmake}
make %{?_smp_mflags}
popd
-%if 0%{?kdp}
pushd cppchecks
%{cmake}
make VERBOSE=1 %{?_smp_mflags}
popd
-%endif
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} PREFIX=%{_prefix} install
-chmod 0755 %{buildroot}%{_bindir}/krazy2{,all,ebn}
+chmod 0755 %{buildroot}%{_bindir}/krazy2{,all,xml}
pushd helpers
make DESTDIR=%{buildroot} PREFIX=%{_prefix} \
%if "%{_lib}" == "lib64"
@@ -106,50 +95,55 @@ popd
pushd doc
make DESTDIR=%{buildroot} PREFIX=%{_prefix} install
popd
-install -m 644 %{SOURCE1} %{buildroot}%{_bindir}/krazy-licensecheck
-%if 0%{?kdp}
+install -m 755 %{SOURCE1} %{buildroot}%{_bindir}/krazy-licensecheck
pushd cppchecks
make DESTDIR=%{buildroot} PREFIX=%{_prefix} install
popd
-%endif
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name perllocal.pod -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
-# chmod -R ug+w %{buildroot}%{_bindir}
-# chmod -R ug+w %{buildroot}%{_libdir}
%clean
rm -rf %{buildroot}
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
%files
%defattr(-,root,root,-)
%doc COPYING README
%{_mandir}/man1/krazy2.1.gz
%{_mandir}/man1/krazy2all.1.gz
-%{_mandir}/man1/krazy2ebn.1.gz
%{_mandir}/man1/krazy2xml.1.gz
%{_mandir}/man5/krazyrc.5.gz
%{_bindir}/krazy-licensecheck
%{_bindir}/krazy2
%{_bindir}/krazy2all
-%{_bindir}/krazy2ebn
%{_bindir}/krazy2xml
-%if 0%{?kdp}
%{_libdir}/libcpp_parser.so
%{_libdir}/libcppmodel.so
%{_libdir}/libpreprocessor.so
%{_libdir}/libcheckutil.so
%{_libdir}/libcheckutil.so.1
%{_libdir}/libcheckutil.so.1.0
-%endif
%{_libdir}/krazy2/
%{_datadir}/dtd/
%{perl_vendorlib}/Krazy/
%changelog
+* Tue Sep 29 2009 Ben Boeckel <MathStuf at gmail.com> 2.9-4.20090928svn
+- Update snapshot
+- krazy2ebn is gone
+- Use kdevplatform by default now
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.9-3.20090719svn
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
* Mon Jul 20 2009 Ben Boeckel <MathStuf at gmail.com> 2.9-2.20090719svn
- Fix %%changelog
- Fix CVS mistakes (update tarball)
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/krazy2/F-10/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- sources 20 Jul 2009 15:56:28 -0000 1.6
+++ sources 30 Sep 2009 00:15:04 -0000 1.7
@@ -1 +1 @@
-0b2513f67f8ae516a5d7042590080efe krazy2-2.9.tar.bz2
+eedb968c4a1236ff2b041fa40554aa6d krazy2-2.9.tar.bz2
More information about the fedora-extras-commits
mailing list