]> git.pld-linux.org Git - SPECS.git/blob - gtktalog.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / gtktalog.spec
1 #
2 # Note: it doesn't work with --enable-gnome20 and gtk2
3 #
4 Summary:        The GNOME disk catalog
5 Summary(pl.UTF-8):      Program do katalogowania płyt CD dla środowiska GNOME
6 Name:           gtktalog
7 Version:        1.0.4
8 Release:        5
9 License:        GPL
10 Group:          Applications/Archiving
11 Source0:        http://savannah.nongnu.org/download/gtktalog/%{name}-%{version}.tar.bz2
12 # Source0-md5:  54ed43256a0d11d078f67485e0a80e0a
13 Patch0:         %{name}-path.patch
14 Patch1:         %{name}-amfix.patch
15 Patch2:         %{name}-desktop.patch
16 URL:            http://www.freesoftware.fsf.org/gtktalog/
17 BuildRequires:  STLport-devel
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  compat-gcc-34-c++
21 BuildRequires:  gettext-tools
22 BuildRequires:  libstdc++-devel
23 BuildRequires:  libtool
24 BuildRequires:  pkgconfig
25 BuildRequires:  zlib-devel
26 Requires:       eject
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 GTKtalog is a disk catalog, it means you can use it to create a really
31 small database with images of files and folders of your CD-rom. So you
32 can browse all your CD's very quickly, see contents of certain files
33 (tar.gz, rpm files ...). You can give to each folder and file a
34 category and a description. You can search for files in your database
35 with filename, category, description or file information parameter,
36 and find in which CD the file you are looking for is.
37
38 %description -l cs.UTF-8
39 GTKtalog je katalog disků, což znamená že jej můžete použít k
40 vytvoření velmi malé databáze s obrazem souborů a adresářů na vašem
41 CD-ROMu. Můžete si pak snadno a rychle prohlížet vaše CD, vidět obsah
42 některých souborů (tar.gz, rpm balíčky, ...). Můžete dát každému
43 adresáři a souboru kategorii a popis. Můžete v databázi hledat soubory
44 podle názvu, kategorie, popisu či dalších informací o souboru a najít,
45 na kterém CD se hledané soubory nachází.
46
47 %description -l fr.UTF-8
48 GTKtalog est un catalogueur de disque. En d'autres termes, vous pouvez
49 l'utiliser pour créer une vraiment petite base de données avec les
50 images des fichiers et répertoires de votre CD-rom. Vous pouvez ainsi
51 lire tous vos CD très rapidement, voir le contenu de certains fichiers
52 (tar.gz, fichiers rpm...). Vous pouvez attribuer à chaque répertoire
53 ou fichier une catégorie, une description ou des paramètres concernant
54 les informations du fichier. Et ainsi vous pouvez trouver dans quel CD
55 se trouve le fichier que vous cherchez.
56
57 %description -l nl.UTF-8
58 GTKtalog is een schijvencatalogeerder. Je kan er kleine databanken mee
59 maken, die informatie van vele CD-roms en diskettes bevatten. Dus kan
60 je heel snel al je CD's doorzoeken, de inhoud van sommige bestanden
61 bekijken (tar.gz, rpm bestanden ...). Je kan iedere map en ieder
62 bestand een categorie en beschrijving geven. Je kan bestanden zoeken
63 op naam, categorie, beschrijving of bestandsinformatie. Zo vind je
64 snel op welke CD het bestand dat je zoekt staat.
65
66 %description -l pl.UTF-8
67 GTKtalog jest katalogiem dysków. Oznacza to, że możesz używać go do
68 stworzenia małej bazy zawartości swoich płyt cd. Dzięki temu
69 odnalezienie pliku o znanej nazwie (lub części nazwy) staje się
70 kwestią sekund a nie godzin. GTKtalog automatycznie rozpoznaje i
71 odpowiednio kataloguje pliki wielu różnych typów (tar, rpm, MP3, avi,
72 html, mpeg).
73
74 %prep
75 %setup -q
76 %patch0 -p1
77 %patch1 -p1
78 %patch2 -p1
79
80 %build
81 %{__libtoolize}
82 %{__gettextize}
83 %{__aclocal} -I m4
84 %{__autoheader}
85 %{__automake}
86 %{__autoconf}
87
88 %configure \
89         CPPFLAGS="-I%{_libdir}/gcc/i686-pld-linux/3.4.6/include/c++/backward" \
90         --disable-gnomevfs \
91         --enable-gnome20 \
92         --enable-pthreads \
93         --enable-catalog2 \
94         --enable-catalog3 \
95         --enable-htmltitle \
96         --enable-mp3info \
97         --enable-modinfo \
98         --enable-aviinfo \
99         --enable-mpeginfo \
100         --enable-fixcd \
101         --disable-eject
102 %{__make}
103
104 %install
105 rm -rf $RPM_BUILD_ROOT
106
107 %{__make} install \
108         DESTDIR=$RPM_BUILD_ROOT \
109         Applicationsdir=%{_desktopdir}
110
111 %find_lang %{name} --with-gnome
112
113 %clean
114 rm -rf $RPM_BUILD_ROOT
115
116 %files -f %{name}.lang
117 %defattr(644,root,root,755)
118 %doc AUTHORS ChangeLog Docs/README.{catalog*,data_representation,Linux} NEWS README TODO
119 %attr(755,root,root) %{_bindir}/%{name}
120 %{_mandir}/man1/*
121 %dir %{_libdir}/%{name}
122 %attr(755,root,root) %{_libdir}/%{name}/*
123 %{_desktopdir}/*.desktop
124 %{_datadir}/%{name}
125 %{_pixmapsdir}/*
This page took 0.047464 seconds and 3 git commands to generate.