rpms/krazy2/devel krazy2.spec,1.15,1.16 sources,1.8,1.9
Ben Boeckel
mathstuf at fedoraproject.org
Wed Sep 30 00:09:20 UTC 2009
- Previous message (by thread): rpms/python-pygments/F-11 .cvsignore, 1.6, 1.7 python-pygments.spec, 1.11, 1.12 sources, 1.6, 1.7
- Next message (by thread): rpms/krazy2/F-12 krazy2.spec,1.15,1.16 sources,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mathstuf
Update of /cvs/pkgs/rpms/krazy2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16524
Modified Files:
krazy2.spec sources
Log Message:
Update snapshot and build using kdevplatform
Index: krazy2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/krazy2/devel/krazy2.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- krazy2.spec 25 Jul 2009 04:46:29 -0000 1.15
+++ krazy2.spec 30 Sep 2009 00:09:19 -0000 1.16
@@ -1,9 +1,6 @@
-# Set to 1 if kdevplatform is available
-%define kdp 0
-
Name: krazy2
Version: 2.9
-Release: 3.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,52 @@ 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
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/krazy2/devel/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- sources 20 Jul 2009 15:34:49 -0000 1.8
+++ sources 30 Sep 2009 00:09:19 -0000 1.9
@@ -1 +1 @@
-0b2513f67f8ae516a5d7042590080efe krazy2-2.9.tar.bz2
+eedb968c4a1236ff2b041fa40554aa6d krazy2-2.9.tar.bz2
- Previous message (by thread): rpms/python-pygments/F-11 .cvsignore, 1.6, 1.7 python-pygments.spec, 1.11, 1.12 sources, 1.6, 1.7
- Next message (by thread): rpms/krazy2/F-12 krazy2.spec,1.15,1.16 sources,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list