/[packages]/cauldron/xfconf/current/SPECS/xfconf.spec
ViewVC logotype

Contents of /cauldron/xfconf/current/SPECS/xfconf.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 41566 - (show annotations) (download)
Wed Jan 26 23:50:42 2011 UTC (13 years, 3 months ago) by ahmad
File size: 3167 byte(s)
imported package xfconf
1 %define url_ver %(echo %{version} | cut -c 1-3)
2 %define major 2
3 %define apiver 0
4 %define libname %mklibname %{name} %{apiver} %{major}
5 %define develname %mklibname %{name} -d
6
7 Summary: A configuration storage system for Xfce
8 Name: xfconf
9 Version: 4.8.0
10 Release: %mkrel 1
11 License: GPLv2+
12 Group: Graphical desktop/Xfce
13 Url: http://www.xfce.org
14 Source0: http://archive.xfce.org/src/xfce/%{name}/%{url_ver}/%{name}-%{version}.tar.bz2
15 BuildRequires: libxfce4util-devel >= 4.6.0
16 BuildRequires: glib2-devel
17 BuildRequires: dbus-glib-devel
18 BuildRequires: gtk-doc
19 BuildRequires: perl(ExtUtils::Depends)
20 BuildRequires: perl(ExtUtils::PkgConfig)
21 BuildRequires: perl(ExtUtils::MakeMaker)
22 BuildRequires: perl(Glib::MakeHelper)
23 BuildRequires: perl(Glib)
24 BuildRequires: perl-devel
25 BuildRequires: gettext
26 Requires: %{libname} = %{version}-%{release}
27 Requires: dbus-x11
28 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
29
30 %description
31 Xfconf is a hierarchical (tree-like) configuration
32 system for the Xfce graphical desktop environment.
33
34 %package -n %{libname}
35 Summary: Main library for xfconf
36 Group: System/Libraries
37 Requires: %{name} = %{version}-%{release}
38 Obsoletes: %{mklibname %{name} 0} < 4.5.92
39
40 %description -n %{libname}
41 Main library for the xfconf, a configuration
42 storage system for Xfce.
43
44 %package -n %{develname}
45 Summary: Development files for xfconf
46 Group: Development/C++
47 Requires: %{libname} = %{version}-%{release}
48 Provides: %{name}-devel = %{version}-%{release}
49 Provides: lib%{name}-devel = %{version}-%{release}
50 Requires: dbus-glib-devel
51 Requires: dbus-devel
52 Requires: glib2-devel
53
54 %description -n %{develname}
55 Development files and headers for xfconf.
56
57 %package -n perl-%{name}
58 Summary: Perl bindings for %{name}
59 Group: Development/Perl
60 Requires: %{libname} = %{version}-%{release}
61
62 %description -n perl-%{name}
63 Perl bindings for %{name}.
64
65 %prep
66 %setup -q
67
68 %build
69 %configure2_5x \
70 --disable-static \
71 --disable-checks \
72 --enable-gtk-doc \
73 --enable-perl-bindings
74
75 %make
76
77 %install
78 [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
79
80 %makeinstall_std
81
82 mkdir -p %{buildroot}%{_mandir}/man3
83
84 mv -f %{buildroot}/usr/local/share/man/man3/Xfce4::Xfconf.3pm %{buildroot}%{_mandir}/man3
85
86 # dummy
87 mkdir -p %{buildroot}%{_sysconfdir}/xdg/xfce4/xfconf
88
89 %find_lang %{name}
90
91 %clean
92 [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
93
94 %files -f %{name}.lang
95 %defattr(-,root,root)
96 %doc AUTHORS NEWS ChangeLog
97 %dir %{_sysconfdir}/xdg/xfce4/xfconf
98 %{_bindir}/xfconf-query
99 %{_libdir}/xfce4/%{name}/xfconfd
100 %{_datadir}/dbus-1/services/org.xfce.Xfconf.service
101 %{_datadir}/gtk-doc/html/xfconf
102
103 %files -n %{libname}
104 %defattr(-,root,root)
105 %{_libdir}/*xfconf-%{apiver}.so.%{major}*
106
107 %files -n %{develname}
108 %defattr(-,root,root)
109 %{_includedir}/xfce4/xfconf-0
110 %{_libdir}/libxfconf-0.la
111 %{_libdir}/libxfconf-0.so
112 %{_libdir}/pkgconfig/libxfconf-0.pc
113
114 %files -n perl-%{name}
115 %defattr(-,root,root)
116 %dir %{perl_sitearch}/Xfce4
117 %dir %{perl_sitearch}/Xfce4/Xfconf
118 %dir %{perl_sitearch}/Xfce4/Xfconf/Install
119 %dir %{perl_sitearch}/auto/Xfce4/Xfconf
120 %{perl_sitearch}/Xfce4/*.pm
121 %{perl_sitearch}/Xfce4/Xfconf/Install/*
122 %{perl_sitearch}/auto/Xfce4/Xfconf/*.so
123 %{_mandir}/man3/Xfce4::Xfconf.3pm.*
124
125

  ViewVC Help
Powered by ViewVC 1.1.30