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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 71997 - (show annotations) (download)
Tue Mar 15 15:23:17 2011 UTC (13 years, 1 month ago) by ennael
File size: 1997 byte(s)
clean spec file

1 %define name podsleuth
2 %define version 0.6.7
3 %define release %mkrel 2
4
5 Summary: Extract metadata from Apple iPods
6 Name: %{name}
7 Version: %{version}
8 Release: %{release}
9 Source0: http://download.banshee-project.org/%name/%version/%{name}-%{version}.tar.bz2
10 License: BSD
11 Group: System/Libraries
12 Url: http://banshee-project.org/PodSleuth
13 BuildRequires: mono-devel
14 BuildRequires: hal-devel
15 BuildRequires: ndesk-dbus-devel
16 BuildRequires: libsgutils-devel
17 Requires: hal
18
19 %description
20 PodSleuth is a tool to discover detailed model information about an
21 Apple (TM) iPod (TM). Its primary role is to be run as a callout by
22 HAL (http://freedesktop.org/wiki/Software_2fhal) because root access
23 is needed to scan the device for required information. When the model
24 information is discovered, it is merged into HAL as properties for
25 other applications to use.
26
27 %package devel
28 Summary: Development files for %name
29 Group: Development/Other
30 Requires: %name = %version-%release
31
32 %description devel
33 PodSleuth is a tool to discover detailed model information about an
34 Apple (TM) iPod (TM). Its primary role is to be run as a callout by
35 HAL (http://freedesktop.org/wiki/Software_2fhal) because root access
36 is needed to scan the device for required information. When the model
37 information is discovered, it is merged into HAL as properties for
38 other applications to use.
39
40 %prep
41 %setup -q
42
43 %build
44 %configure2_5x
45 make
46
47 %install
48 rm -rf %{buildroot}
49 %makeinstall_std
50 mkdir -p %buildroot/var/cache/podsleuth
51 mkdir -p %buildroot%_libdir/hal/scripts
52 mv %buildroot%_libdir/hal/hal-podsleuth %buildroot%_libdir/hal/scripts
53
54 %clean
55 rm -rf %{buildroot}
56
57 %files
58 %defattr(-,root,root)
59 %doc README NEWS
60 %config(noreplace) %_sysconfdir/dbus-1/system.d/podsleuth.conf
61 %_bindir/podsleuth
62 %_libdir/hal/scripts/hal-podsleuth
63 #gw this must be in /usr/lib as referenced by the hal script
64 %_prefix/lib/podsleuth
65 %_datadir/hal/fdi/policy/20thirdparty/20-podsleuth.fdi
66 %dir /var/cache/podsleuth
67
68 %files devel
69 %_libdir/pkgconfig/podsleuth.pc
70
71

  ViewVC Help
Powered by ViewVC 1.1.30