source: projects/specs/trunk/a/attica/attica-vl.spec @ 799

Revision 799, 2.4 KB checked in by inagaki, 14 years ago (diff)

updated: attica, akonadi

Line 
1Name:           attica
2Version:        0.1.3
3Release:        1%{?_dist_release}
4Summary:        Implementation of the Open Collaboration Services API
5
6Group:          System Environment/Libraries
7License:        LGPLv2+
8URL:            http://www.kde.org
9Source0:        ftp://ftp.kde.org/pub/kde/stable/attica/attica-%{version}.tar.bz2
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11
12## upstreamable patches
13# fix Version in libattica.pc
14Patch50: attica-0.1.2-pkgconfig.patch
15
16BuildRequires:  cmake
17BuildRequires:  qt4-devel
18BuildRequires:  openssl-devel
19
20%description
21Attica is a Qt library that implements the Open Collaboration Services
22API version 1.4.
23
24
25%package        devel
26Summary:        Development files for %{name}
27Group:          Development/Libraries
28Requires:       %{name} = %{version}-%{release}
29
30%description    devel
31The %{name}-devel package contains libraries and header files for
32developing 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
43PATH="$PATH:`/usr/bin/pkg-config --variable=bindir Qt`"
44%endif
45mkdir -p %{_target_platform}
46pushd %{_target_platform}
47%cmake ..
48popd
49
50make %{?_smp_mflags} -C %{_target_platform}
51
52
53%install
54rm -rf %{buildroot}
55
56make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
57
58
59%clean
60rm -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* 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
Note: See TracBrowser for help on using the repository browser.