Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:Alexander_Naumov:SLE-12:Update
fate
fate.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fate.spec of Package fate
# # spec file for package fate (Version 1.5.2) # # Copyright (c) 2008-2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # norootforbuild %define baseversion 1.5.2 %define patchlevel jplack %define snapshot 20140715-97fe6a0 Name: fate URL: http://inttools.suse.de BuildRequires: libkde4-devel BuildRequires: sqlite-devel,pkgconfig,cmake,boost-devel,libctemplate-devel BuildRequires: libxml2-devel,libxslt-devel License: GPL-2.0 or GPL-3.0 or LGPL-2.1+ Group: Productivity/Office/Other Summary: SUSE Feature Management Tool Version: %{baseversion}.%{patchlevel} Release: 3.36 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: fate-kde4-%{snapshot}.tar.bz2 Source1: mkdist Source2: update %if 0%{?suse_version} > 1010 Recommends: diffutils Recommends: sxtopdf >= 0.5.7 %endif %if 0%{?suse_version} > 1220 Requires: iceauth Requires: python-kde4-khtml %endif Requires: kdebase4-runtime %description Fate is the client for the SUSE Feature Management database. It provides views on the feature data and allows to query and edit them. Authors: -------- Cornelius Schumacher <cschum@suse.de> André Duffeck <aduffeck@suse.de> %debug_package %prep %setup -q -n fate-kde4-%{snapshot} %build # FIXME: No idea how to move -lxslt after libfateui.a # -o fate ... -lxslt -lkdeprint -lkhtml -lkdeui -lctemplate ../libfate/ui/libfateui.a -lxml2 # ../libfate/ui/libfateui.a(diffgenerator.o): In function `DiffGenerator::diff(Feature*, Feature*)': # diffgenerator.cpp:(.text+0x70f): undefined reference to `xsltParseStylesheetFile' export SUSE_ASNEEDED=0 mkdir build cd build export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$CFLAGS" cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DLIB=%{_lib} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=1 \ .. # disable jobs to try fix build on factory #%__make %{?jobs:-j %jobs} %__make %install export SUSE_ASNEEDED=0 make -C build DESTDIR=$RPM_BUILD_ROOT install # The KDE4 cmake rules seem to be a tad broken... find $RPM_BUILD_ROOT/usr/share/icons -name fate.png | while read path; do dest=${path/oxygen/hicolor} if [ $dest != $path ]; then mkdir -p `dirname $dest` ln $path $dest fi done mv $RPM_BUILD_ROOT/usr/share/applications/{kde/,}fate.desktop rmdir $RPM_BUILD_ROOT/usr/share/applications/kde mv $RPM_BUILD_ROOT/usr/share/apps/fate $RPM_BUILD_ROOT/usr/share/applications rm -rf $RPM_BUILD_ROOT/usr/share/apps/kinstaller %files %defattr(-,root,root) /usr/bin/fate /usr/share/doc/kde/HTML/en/fate /usr/share/kde4/apps/fate /usr/share/kde4/services/fate.protocol /usr/share/applications/fate /usr/share/applications/fate.desktop /usr/share/icons/oxygen/*/apps/*.png /usr/share/icons/hicolor/*/apps/*.png %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor