<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>perf</Name>
        <Homepage>http://www.kernel.org</Homepage>
        <Packager>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:gui</IsA>
        <Summary>Performance analyser tool that makes full use of the Linux performance counter subsystem</Summary>
        <Description>perf is a new tool which is used to optimize, validate and measure applications, workloads or the full system through the Linux performance counter subsystem.</Description>
        <Archive sha1sum="36922e152e9268a68070577c613da502a6c3d577" type="targz">https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.7.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libunwind-devel</Dependency>
            <Dependency>audit-devel</Dependency>
            <Dependency>xz-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>unifdef</Dependency>
            <Dependency>elfutils</Dependency>
            <Dependency>diffutils</Dependency>
            <Dependency>newt-devel</Dependency>
            <Dependency>xmlto</Dependency>
            <Dependency>asciidoc</Dependency>
            <Dependency>pciutils-devel</Dependency>
            <Dependency>numactl-devel</Dependency>
            <Dependency>python-devel</Dependency>
            <Dependency>slang-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>perl</Dependency>
            <Dependency>util-linux</Dependency>
            <Dependency>libxslt</Dependency>
        </BuildDependencies>
        <Patches>
            <!-- Linux patches -->
            <!--Patch level="1" compressionType="xz">patches/linux/patch-4.6.3.xz</Patch-->
            <!-- Mageia Linux patches // compatible with http://svnweb.mageia.org/packages/cauldron/kernel/releases/4.7.0/2.mga6/PATCHES/patches/series-->
            <!--stable patches-->
            <!--other patches-->
            <Patch level="1">patches/mageia/Revert-ipmi-Start-the-timer-and-thread-on-internal-m.patch</Patch>
            <Patch level="1">patches/mageia/x86-pci-toshiba-equium-a60-assign-busses.patch</Patch>
            <Patch level="1">patches/mageia/x86-boot-video-80x25-if-break.patch</Patch>
            <Patch level="1">patches/mageia/x86-default_poweroff_up_machines.patch</Patch>
            <Patch level="1">patches/mageia/x86-increase-default-minimum-vmalloc-area-by-64MB-to-192MB.patch</Patch>
            <Patch level="1">patches/mageia/Revert-cpufreq-pcc-Enable-autoload-of-pcc-cpufreq-fo.patch</Patch>
            <Patch level="1">patches/mageia/Revert-cpufreq-pcc-cpufreq-update-default-value-of-c.patch</Patch>
            <Patch level="1">patches/mageia/Revert-x86-mm-mtrr-Remove-kernel-internal-MTRR-inter.patch</Patch>
            <Patch level="1">patches/mageia/x86-power-64-Fix-hibernation-return-address-corrupti.patch</Patch>
            <Patch level="1">patches/mageia/base-cacheinfo-silence-DT-warnings.patch</Patch>
            <Patch level="1">patches/mageia/pci-add-ALI-M5229-ide-compatibility-mode-quirk.patch</Patch>
            <Patch level="1">patches/mageia/pci-quirks-drop-devinit-exit.patch</Patch>
            <Patch level="1">patches/mageia/acpi-CLEVO-M360S-disable_acpi_irq.patch</Patch>
            <Patch level="1">patches/mageia/acpi-processor-M720SR-limit-to-C2.patch</Patch>
            <Patch level="1">patches/mageia/ACPI-video-Add-a-quirk-to-force-acpi-video-backlight.patch</Patch>
            <!--Patch level="1">patches/mageia/scsi-ppscsi-2.6.2.patch</Patch>
            <Patch level="1">patches/mageia/scsi-ppscsi_fixes.patch</Patch>
            <Patch level="1">patches/mageia/scsi-ppscsi-sg-helper-update.patch</Patch>
            <Patch level="1">patches/mageia/scsi-ppscsi-update-for-scsi_data_buffer.patch</Patch>
            <Patch level="1">patches/mageia/scsi-ppscsi-mdvbz45393.patch</Patch>
            <Patch level="1">patches/mageia/scsi-ppscsi-3.0-buildfix.patch</Patch-->
            <Patch level="1">patches/mageia/scsi-megaraid-new-sysfs-name.patch</Patch>
            <Patch level="1">patches/mageia/ide-pci-sis5513-965.patch</Patch>
            <Patch level="1">patches/mageia/mpt-vmware-fix.patch</Patch>
            <Patch level="1">patches/mageia/dm-raid-aliases.patch</Patch>
            <Patch level="1">patches/mageia/block-floppy-disable-pnp-modalias.patch</Patch>
            <Patch level="1">patches/mageia/ata-prefer-ata-drivers-over-ide-drivers-when-both-are-built.patch</Patch>
            <Patch level="1">patches/mageia/block-Make-CFQ-default-to-IOPS-mode-on-SSDs.patch</Patch>
            <Patch level="1">patches/mageia/fs-aufs-4.7.patch</Patch>
            <Patch level="1">patches/mageia/fs-aufs-4.7-modular.patch</Patch>
            <Patch level="1">patches/mageia/fs-aufs-4.7-ver-fix.patch</Patch>
            <Patch level="1">patches/mageia/fs-ext4-don-t-call-ext4_should_journal_data-on-the-jour.patch</Patch>
            <Patch level="1">patches/mageia/fs-ext4-fix-deadlock-during-page-writeback.patch</Patch>
            <Patch level="1">patches/mageia/firewire-ieee1394-module-aliases.patch</Patch>
            <Patch level="1">patches/mageia/char-agp-intel-new-Q57-id.patch</Patch>
            <!--remove external mach64 support for buildfix-->
            <!--Patch level="1">patches/mageia/gpu-drm-mach64.patch</Patch>
            <Patch level="1">patches/mageia/gpu-drm-mach64-fixes.patch</Patch>
            <Patch level="1">patches/mageia/gpu-drm-mach64-2.6.31.patch</Patch>
            <Patch level="1">patches/mageia/gpu-drm-mach64-fix-for-changed-drm_pci_alloc.patch</Patch>
            <Patch level="1">patches/mageia/gpu-drm-mach64-fix-for-changed-drm_ioctl.patch</Patch>
            <Patch level="1">patches/mageia/gpu-drm-mach64-2.6.36-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/gpu-drm-mach64-2.6.37-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/gpu-drm-mach64-3.0-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/gpu-drm-mach64-include-module.h.patch</Patch>
            <Patch level="1">patches/mageia/gpu-drm-mach64-3.3-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/gpu-drm-mach64-3.6-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/gpu-drm-mach64-3.7-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/gpu-drm-mach64-3.12-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/gpu-drm-mach64-restore-mach64_PCI_IDS.patch</Patch>
            <Patch level="1">patches/mageia/gpu-drm-mach64-linux-3.14-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/gpu-drm-mach64-3.17-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/gpu-drm-mach64-3.18-buildfix.patch</Patch--><!--1-->
            <Patch level="1">patches/mageia/input-i8042-quirks-for-Fujitsu-Lifebook-A544-and-Lif.patch</Patch>
            <Patch level="1">patches/mageia/net-sis190-fix-list-usage.patch</Patch>
            <Patch level="1">patches/mageia/net-netfilter-IFWLOG.patch</Patch>
            <Patch level="1">patches/mageia/net-netfilter-IFWLOG-mdv.patch</Patch>
            <Patch level="1">patches/mageia/net-netfilter-IFWLOG-2.6.35-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/net-netfilter-IFWLOG-2.6.37-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/net-ipv4-netfilter-ipt_IFWLOG-3.6-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/net-netfilter-IFWLOG-3.7-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/net-netfilter-IFWLOG-remove-unused-label.patch</Patch>
            <Patch level="1">patches/mageia/net-netfilter-psd.patch</Patch>
            <Patch level="1">patches/mageia/net-netfilter-psd-mdv.patch</Patch>
            <Patch level="1">patches/mageia/net-netfilter-psd-2.6.35-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/net-wireless-iwlwifi-add-new-8260-PCI-IDs.patch</Patch>
            <Patch level="1">patches/mageia/net-wireless-iwlwifi-add-new-8265.patch</Patch>
            <Patch level="1">patches/mageia/net-wireless-iwlwifi-pcie-enable-interrupts-before-releasing-the-NICs-CPU.patch</Patch>
            <Patch level="1">patches/mageia/net-wireless-iwlwifi-pcie-fix-a-race-in-firmware-loading-flow.patch</Patch>
            <Patch level="1">patches/mageia/net-bcma-add-PCI-ID-for-Foxconn-s-BCM43142-device.patch</Patch>
            <Patch level="1">patches/mageia/net-brcmfmac-restore-stopping-netdev-queue-when-bus-clog.patch</Patch>
            <Patch level="1">patches/mageia/platform-x86-add-shuttle-wmi-driver.patch</Patch>
            <Patch level="1">patches/mageia/platform-x86-shuttle-wmi-drop-devinit-exit.patch</Patch>
            <Patch level="1">patches/mageia/platform-x86-shuttle-wmi-4.2-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/hp-wmi-Fix-wifi-cannot-be-hard-unblocked.patch</Patch>
            <Patch level="1">patches/mageia/Bluetooth-Add-support-of-13d3-3490-AR3012-device.patch</Patch>
            <Patch level="1">patches/mageia/intel_th-Fix-a-deadlock-in-modprobing.patch</Patch>
            <Patch level="1">patches/mageia/intel_th-pci-Add-Kaby-Lake-PCH-H-support.patch</Patch>
            <Patch level="1">patches/mageia/pinctrl-cherryview-prevent-concurrent-access-to-GPIO.patch</Patch>
            <Patch level="1">patches/mageia/include-kbuild-export-pci_ids.patch</Patch>
            <Patch level="1">patches/mageia/hid-usbhid-IBM-BladeCenterHS20-quirk.patch</Patch>
            <Patch level="1">patches/mageia/usb-storage-unusual_devs-add-id.patch</Patch>
            <Patch level="1">patches/mageia/usb-storage-unusual_devs-add-id-2.6.37-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/usb-dwc3-fix-for-the-isoc-transfer-EP_BUSY-flag.patch</Patch>
            <Patch level="1">patches/mageia/usb-renesas_usbhs-fix-NULL-pointer-dereference-in-xf.patch</Patch>
            <Patch level="1">patches/mageia/HID-uhid-fix-timeout-when-probe-races-with-IO.patch</Patch>
            <Patch level="1">patches/mageia/media-usb-pwc-lie-in-proc-usb-devices.patch</Patch>
            <Patch level="1">patches/mageia/media-media-usbtv-prevent-access-to-free-d-resources.patch</Patch>
            <Patch level="1">patches/mageia/media-vb2-core-Skip-planes-array-verification-if-pb-.patch</Patch>
            <Patch level="1">patches/mageia/media-videobuf2-v4l2-Verify-planes-array-in-buffer-d.patch</Patch>
            <Patch level="1">patches/mageia/3rd-3rdparty-1.0-tree.patch</Patch>
            <Patch level="1">patches/mageia/3rd-3rdparty-merge.patch</Patch>
            <Patch level="1">patches/mageia/3rd-acerhk-0.5.35.patch</Patch>
            <Patch level="1">patches/mageia/3rd-acerhk-kbuild.patch</Patch>
            <Patch level="1">patches/mageia/3rd-acerhk-extra-cflags.patch</Patch>
            <Patch level="1">patches/mageia/3rd-acerhk-proc_dir_entry-owner.patch</Patch>
            <Patch level="1">patches/mageia/3rd-acerhk-fix-build-with-function-tracer.patch</Patch>
            <Patch level="1">patches/mageia/3rd-acerhk-2.6.36-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/3rd-acerhk-fix-include.patch</Patch>
            <!--2-->
            <!--Patch level="1">patches/mageia/3rd-aes2501-r19.patch</Patch>
            <Patch level="1">patches/mageia/3rd-aes2501-kbuild.patch</Patch>
            <Patch level="1">patches/mageia/3rd-aes2501-rmmod-oops-fix.patch</Patch--><!--2-->
            <Patch level="1">patches/mageia/3rd-ndiswrapper-1.60.patch</Patch>
            <Patch level="1">patches/mageia/3rd-ndiswrapper-Kconfig.patch</Patch>
            <Patch level="1">patches/mageia/3rd-ndiswrapper-Makefile-build-fix.patch</Patch>
            <Patch level="1">patches/mageia/3rd-ndiswrapper-4.7-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/3rd-rfswitch-1.3.patch</Patch>
            <Patch level="1">patches/mageia/3rd-rfswitch-build-fix.patch</Patch>
            <Patch level="1">patches/mageia/3rd-rfswitch-3.0-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/3rd-viahss-0.92.patch</Patch>
            <Patch level="1">patches/mageia/3rd-viahss-config.patch</Patch>
            <Patch level="1">patches/mageia/3rd-viahss-module-license.patch</Patch>
            <Patch level="1">patches/mageia/3rd-viahss-2.6.35-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/3rd-viahss-3.0-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/3rd-rtl8723bs.patch</Patch>
            <Patch level="1">patches/mageia/3rd-rtl8723bs-4.7-buildfix.patch</Patch>
            <Patch level="1">patches/mageia/ahci-add-new-Intel-device-IDs.patch</Patch>
            <Patch level="1">patches/mageia/megaraid_sas-Do-not-fire-MR_DCMD_PD_LIST_QUERY-to-co.patch</Patch>
            <Patch level="1">patches/mageia/arm-0001-ARM-bcm2835-dt-Add-the-ethernet-to-the-device-trees.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>perf</Name>
        <RuntimeDependencies>
            <Dependency>audit</Dependency>
            <Dependency>xz</Dependency>
            <Dependency>newt</Dependency>
            <Dependency>elfutils</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>numactl</Dependency>
            <Dependency>libunwind</Dependency>
            <Dependency>python</Dependency>
            <Dependency>slang</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>perl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="library">/usr/libexec</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="man">/usr/share/man/</Path>
            <Path fileType="data">/usr/share/perf-core</Path>
            <Path fileType="data">/usr/share/doc/perf-tip</Path>
        </Files>
    </Package>
    <History>
        <Update release="4">
            <Date>2016-07-13</Date>
            <Version>4.7.0</Version>
            <Comment>Version bump</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2016-07-13</Date>
            <Version>4.6.3</Version>
            <Comment>Version bump</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>4.4.8</Version>
            <Comment>Version bump</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-06</Date>
            <Version>4.4.4</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
