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