[meego-commits] 10600: New package Trunk:Testing/attica
Fathi Boudra
no_reply at build.meego.com
Mon Dec 6 08:07:53 UTC 2010
Hi,
Adding new package attica in project Trunk:Testing. Please review and accept ASAP.
Justification for this new package:
FEA#6357 AND FEA#9461
Thank You,
Fathi Boudra
[This message was auto-generated]
---
Request #10600:
submit: home:boudra:kde/attica(r3) -> Trunk:Testing/attica
Message:
FEA#6357 AND FEA#9461
State: new 2010-12-06T00:07:53 boudra
Comment: None
This is a NEW package in Trunk:Testing project.
The files in the new package:
attica/
|__ attica-0.2.0.tar.bz2
|__ attica.changes
|__ attica.spec
The content of the spec file, attica.spec:
===================================================================
# spec file for attica
Name: attica
Version: 0.2.0
Release: 1
License: LGPLv2.1+
Summary: Qt library that implements the Open Collaboration Services API
Url: http://www.kde.org/
Group: System/Libraries
Source0: ftp://ftp.kde.org/pub/kde/stable/%{name}/%{name}-%{version}.tar.bz2
BuildRequires: cmake
BuildRequires: pkgconfig(QtCore)
%description
Attica is a Qt library that implements the Open Collaboration Services API
version 1.4. It grants easy access to the services such as querying information
about persons and contents.
%package devel
Summary: Development files for the Attica library
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
Attica is a Qt library that implements the Open Collaboration Services API
version 1.4. It grants easy access to the services such as querying information
about persons and contents.
This package contains the development header files.
%prep
%setup -q
%build
mkdir %{_target_platform}
cd %{_target_platform} && cmake .. \
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
-DCMAKE_C_COMPILER:FILEPATH="cc" \
-DCMAKE_CXX_COMPILER:FILEPATH="g++" \
-DCMAKE_C_FLAGS="%{optflags}" \
-DCMAKE_CXX_FLAGS="%{optflags}" \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_SKIP_RPATH:BOOL=OFF \
-DCMAKE_USE_RELATIVE_PATHS=ON \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined" \
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined" \
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined"
make %{?_smp_mflags}
%install
make -C %{_target_platform} install DESTDIR=%{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%{_libdir}/libattica.so.*
%files devel
%defattr(-,root,root,-)
%{_libdir}/lib%{name}.so
%{_includedir}/%{name}/*.h
%{_libdir}/pkgconfig/lib%{name}.pc
===================================================================
More information about the MeeGo-commits
mailing list