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

Revision 521, 2.3 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Name:           attica
2Version:        0.1.2
3Release:        3%{?dist}
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* 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
Note: See TracBrowser for help on using the repository browser.