Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
playground
>
libqtkeychain
> libqtkeychain.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libqtkeychain.spec of Package libqtkeychain
# # spec file for package qtkeychain # # Copyright (c) 2012 Klaas Freitag <freitag@owncloud.com> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://github.com/owncloud/issues # %define _soversion 0 Name: libqtkeychain BuildRequires: cmake BuildRequires: gcc-c++ %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} BuildRequires: qt4 qt4-devel >= 4.6 %else BuildRequires: libqt4-devel >= 4.6 %endif Version: 0.20130221 Release: 1.2 Summary: A cross platform password store library License: MIT Group: Development/Libraries/C and C++ Url: https://github.com/frankosterfeld/qtkeychain Source0: qtkeychain-%{version}.tar.bz2 Patch0: no_create_translations.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description use qtkeychain to store passwords easy and secure on Linux, Windows and Mac. %package -n %{name}%{_soversion} Summary: A cross platform password store library Group: Development/Libraries/C and C++ %description -n %{name}%{_soversion} use qtkeychain to store passwords easy and secure on Linux, Windows and Mac. %package devel Summary: A cross platform password store library Group: Development/Libraries/C and C++ AutoReqProv: on Requires: libqtkeychain%{_soversion} = %{version} %description devel use qtkeychain to store passwords easy and secure on Linux, Windows and Mac. This package contains development files for libqtkeychain. %prep %setup -q -n qtkeychain-%{version} %patch0 -p1 %build mkdir build pushd build cmake .. \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_VERBOSE_MAKEFILE=ON \ %ifarch %arm ppc ppc64 -DWITH_CRASHREPORTER=OFF \ -DWITH_BREAKPAD=OFF \ %endif -DBUILD_RELEASE=ON %__make %{?jobs:-j%jobs} || %__make -j1 popd %install pushd build %make_install popd %post -n %{name}%{_soversion} -p /sbin/ldconfig %postun -n %{name}%{_soversion} -p /sbin/ldconfig %files -n %{name}%{_soversion} %defattr(-,root,root) %{_libdir}/libqtkeychain.so.* %{_prefix}/share/qt4/translations/qtkeychain_de.qm %doc COPYING ReadMe.txt %files devel %defattr(-,root,root) %{_includedir}/qtkeychain %{_libdir}/cmake/QtKeychain %{_libdir}/libqtkeychain.so %changelog * Fri Jan 18 2013 freitag@owncloud.com - Fixed dependency from dev package to main for deb builds. * Thu Jan 17 2013 freitag@owncloud.com - Fedora build fixed by removing build dep on kde4-filesystem. * Thu Jan 17 2013 freitag@owncloud.com - Update to first official version 0.1 * Thu Dec 13 2012 dev@dominik-schmidt.de - clean up spec file * Sat Dec 8 2012 freitag@owncloud.com - First initial package for linux.