File: rubrica2.spec

package info (click to toggle)
rubrica 2.0-1.1
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 4,048 kB
  • ctags: 2,921
  • sloc: ansic: 23,943; sh: 8,321; makefile: 291
file content (73 lines) | stat: -rw-r--r-- 1,729 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#
# based on Dag Wieers <dag@wieers.com> rubrica.spec file
#

%define rel   1

Name:      rubrica2
Summary:   Rubrica, an address book for Gnome Environment.
Version:   2.0
Release:   %rel
License:   GPL
Group:     Applications/Productivity
Source:    http://download.berlios.de/rubrica/%{name}-%{version}.tar.bz2
URL:       http://rubrica.berlios.de
Vendor:    Nicola Fragale <nicolafragale@gmail.com>
Packager:  Nicola Fragale <nicolafragale@gmail.com>

BuildRoot: %{_tmppath}/root-%{name}-%{version}
Prefix:    %{_prefix}
Requires:   gtk2 >= 2.6, libglade2, libxml2
BuildRequires: gtk2-devel >= 2.6, libglade2-devel, libxml2-devel


%description
An address book for GNOME Environment. 

%prep
%setup

%build
%configure \
	--disable-install-schemas \
	--enable-nls
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
%makeinstall
%find_lang %{name}

%{__rm} -rf %{buildroot}%{_docdir}/rubrica2

%post
export GCONF_CONFIG_SOURCE="$(gconftool-2 --get-default-source)"
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas &>/dev/null
scrollkeeper-update -q

%postun
scrollkeeper-update -q

%clean
%{__rm} -rf %{buildroot}


%files -f %{name}.lang 
%defattr(-, root, root, 0755)
%doc README ChangeLog COPYING AUTHORS NEWS TODO CREDITS
%config %{_sysconfdir}/gconf/schemas/*.schemas
%{_bindir}/*
%{_libdir}/libral.*
%{_libdir}/libral/plugins/*
%{_datadir}/rubrica2/interface/
%{_datadir}/icons/hicolor/*
%{_datadir}/applications/*.desktop
%{_datadir}/mime-info/*
%exclude %{_datadir}/icons/hicolor/icon-theme.cache
%exclude %{_libdir}/*.a
%exclude %{_libdir}/*.la
%exclude %{_libdir}/libral/plugins/*.?a
%exclude %{_libdir}/libral/plugins/*.la