]> git.pld-linux.org Git - SPECS.git/blob - gnomad2.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / gnomad2.spec
1 Summary:        Software for managing Zen Nomad playlist
2 Summary(pl.UTF-8):      Oprogramowanie do zarządzania listą plików Zen Creative
3 Name:           gnomad2
4 Version:        2.9.6
5 Release:        2
6 License:        GPL v2
7 Group:          X11/Applications/Multimedia
8 Source0:        http://downloads.sourceforge.net/gnomad2/%{name}-%{version}.tar.gz
9 # Source0-md5:  213bfee7d020aea092576b45691aba36
10 URL:            http://gnomad2.sourceforge.net/
11 BuildRequires:  gettext-tools
12 BuildRequires:  glib2-devel >= 2.0
13 BuildRequires:  gtk+2-devel >= 2.0
14 BuildRequires:  udev-glib-devel
15 BuildRequires:  intltool
16 BuildRequires:  libgnomeui-devel >= 2.0
17 BuildRequires:  libid3tag-devel >= 0.15.1b-4
18 BuildRequires:  libmtp-devel >= 0.1.3
19 BuildRequires:  libnjb-devel >= 2.2.4
20 BuildRequires:  perl-XML-Parser
21 BuildRequires:  pkgconfig
22 BuildRequires:  taglib-devel
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Gnomad 2 is a GUI built on top of GTK+/GNOME 2, libid3tag and libnjb
27 that makes it possible to transfer tracks and files from/to a Creative
28 Nomad Jukebox (all brands). It is designed much like an ordinary
29 graphical FTP program.
30
31 %description -l pl.UTF-8
32 Gnomad 2 jest graficznym interfejsem użytkownika zbudowanym w oparciu
33 o biblioteki GTK+/GNOME, libid3tag oraz libnjb. Umożliwia przesyłanie
34 utworów z i do odtwarzacza Nomad Creative. Został zaprojektowany na
35 wzór zwykłego graficznego klienta FTP.
36
37 %prep
38 %setup -q
39
40 %build
41 %configure
42 %{__make} \
43         CC="%{__cc}" \
44         CFLAGS="%{rpmcflags} -I/usr/include/libnjb"
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/cs{_CZ,}
54
55 # unsupported by glibc (2.7)
56 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/sco
57
58 %find_lang %{name}
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files -f %{name}.lang
64 %defattr(644,root,root,755)
65 %doc AUTHORS ChangeLog NEWS README TODO
66 %attr(755,root,root) %{_bindir}/*
67 %{_desktopdir}/gnomad2.desktop
68 %{_pixmapsdir}/gnomad2*.png
69 %{_mandir}/man1/*
70 %{_datadir}/application-registry/gnomad2.applications
This page took 0.627878 seconds and 3 git commands to generate.