]> git.pld-linux.org Git - packages/decibel.git/blob - decibel.spec
- initial
[packages/decibel.git] / decibel.spec
1 #
2 # Conditional build:
3 #
4 %define         qt_ver          4.4.3
5
6 Summary:        Decibel
7 Summary(pl.UTF-8):      Decibel
8 Name:           decibel
9 Version:        0.5.0
10 Release:        0.1
11 License:        GPL v2
12 Group:          X11/Applications
13 Source0:        http://decibel.kde.org/fileadmin/downloads/decibel/releases/%{name}-%{version}.tar.gz
14 # Source0-md5:  7de299ace568c87a746388ad765228e5
15 Patch0:         %{name}-types.patch
16 URL:            http://decibel.kde.org/
17 BuildRequires:  QtCore-devel >= %{qt_ver}
18 BuildRequires:  QtDBus-devel >= %{qt_ver}
19 BuildRequires:  QtGui-devel >= %{qt_ver}
20 BuildRequires:  automoc4 >= 0.9.84
21 BuildRequires:  cmake >= 2.6.2
22 BuildRequires:  qt4-build >= %{qt_ver}
23 BuildRequires:  qt4-qmake >= %{qt_ver}
24 BuildRequires:  rpmbuild(macros) >= 1.293
25 BuildRequires:  tapioca-qt-devel >= 0.17.7
26 BuildRequires:  telepathy-qt-devel >= 0.17.7
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 Decibel is a realtime communications framework, integrating services
31 like CTI (Computer Telephone Integration), VoIP (Voice over IP), text
32 based chat and instant messaging.
33
34 #%description -l pl.UTF-8
35
36 %package devel
37 Summary:        Header files for decibel library
38 Summary(pl.UTF-8):      Pliki nagÅ~Bówkowe biblioteki decibel
39 Group:          Development/Libraries
40 Requires:      %{name} = %{version}-%{release}
41
42 %description devel
43 Header files for decibel library.
44
45 %description devel -l pl.UTF-8
46 Pliki nagÅ~Bówkowe biblioteki decibel.
47
48 %prep
49 %setup -q
50 %patch0 -p0
51
52 %build
53 install -d build
54 cd build
55 %cmake .. \
56         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
57 %if "%{_lib}" == "lib64"
58         -DLIB_SUFFIX=64
59 %endif
60
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} -C build install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %attr(755,root,root)
75
76 %files devel
77 %defattr(644,root,root,755)
This page took 0.034383 seconds and 3 git commands to generate.