[521] | 1 | Name: attica |
---|
| 2 | Version: 0.1.2 |
---|
| 3 | Release: 3%{?dist} |
---|
| 4 | Summary: Implementation of the Open Collaboration Services API |
---|
| 5 | |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | License: LGPLv2+ |
---|
| 8 | URL: http://www.kde.org |
---|
| 9 | Source0: ftp://ftp.kde.org/pub/kde/stable/attica/attica-%{version}.tar.bz2 |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | |
---|
| 12 | ## upstreamable patches |
---|
| 13 | # fix Version in libattica.pc |
---|
| 14 | Patch50: attica-0.1.2-pkgconfig.patch |
---|
| 15 | |
---|
| 16 | BuildRequires: cmake |
---|
| 17 | BuildRequires: qt4-devel |
---|
| 18 | BuildRequires: openssl-devel |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | Attica is a Qt library that implements the Open Collaboration Services |
---|
| 22 | API version 1.4. |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | %package devel |
---|
| 26 | Summary: Development files for %{name} |
---|
| 27 | Group: Development/Libraries |
---|
| 28 | Requires: %{name} = %{version}-%{release} |
---|
| 29 | |
---|
| 30 | %description devel |
---|
| 31 | The %{name}-devel package contains libraries and header files for |
---|
| 32 | developing applications that use %{name}. |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | %prep |
---|
| 36 | %setup -q |
---|
| 37 | |
---|
| 38 | %patch50 -p1 -b .pkgconfig |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | %build |
---|
| 42 | %ifarch x86_64 |
---|
| 43 | PATH="$PATH:`/usr/bin/pkg-config --variable=bindir Qt`" |
---|
| 44 | %endif |
---|
| 45 | mkdir -p %{_target_platform} |
---|
| 46 | pushd %{_target_platform} |
---|
| 47 | %cmake .. |
---|
| 48 | popd |
---|
| 49 | |
---|
| 50 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %install |
---|
| 54 | rm -rf %{buildroot} |
---|
| 55 | |
---|
| 56 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | %clean |
---|
| 60 | rm -rf %{buildroot} |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %post -p /sbin/ldconfig |
---|
| 64 | %postun -p /sbin/ldconfig |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %files |
---|
| 68 | %defattr(-,root,root,-) |
---|
| 69 | %doc COPYING README |
---|
| 70 | %{_libdir}/libattica.so.0* |
---|
| 71 | |
---|
| 72 | %files devel |
---|
| 73 | %defattr(-,root,root,-) |
---|
| 74 | %{_includedir}/attica/ |
---|
| 75 | %{_libdir}/libattica.so |
---|
| 76 | %{_libdir}/pkgconfig/libattica.pc |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | %changelog |
---|
| 80 | * Thu Feb 11 2010 Shu KONNO <owa@bg.wakwak.com> - 0.1.2-3 |
---|
| 81 | - added qmake path to PATH (if x86_64) |
---|
| 82 | |
---|
| 83 | * Thu Feb 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.2-2 |
---|
| 84 | - initial build for Vine Linux |
---|
| 85 | |
---|
| 86 | * Thu Jan 14 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.1.2-1 |
---|
| 87 | - attica-0.1.2 |
---|
| 88 | - patch Version in libattica.pc |
---|
| 89 | - %%build: %%_cmake_skip_rpath |
---|
| 90 | |
---|
| 91 | * Fri Dec 18 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.1.1-1 |
---|
| 92 | - attica-0.1.1 |
---|
| 93 | |
---|
| 94 | * Wed Dec 9 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.1.0-3 |
---|
| 95 | - upstream tarball |
---|
| 96 | - %files: tighten up a bit, track sonames |
---|
| 97 | |
---|
| 98 | * Mon Dec 7 2009 Lorenzo Villani <lvillani@binaryhelix.net> - 0.1.0-2 |
---|
| 99 | - Out of sourcetree build |
---|
| 100 | - Use make install/fast |
---|
| 101 | |
---|
| 102 | * Sat Dec 5 2009 lvillani <lvillani@enterprise.binaryhelix.net> 0.1.0-1 |
---|
| 103 | - Initial release |
---|
| 104 | |
---|