]> git.pld-linux.org Git - packages/file-roller.git/blob - file-roller.spec
fa37f85cc6df360e48658d3eb059a4436c6a05c3
[packages/file-roller.git] / file-roller.spec
1 Summary:        An archive manager for GNOME
2 Summary(pl.UTF-8):      Zarządca archiwów dla GNOME
3 Summary(pt_BR.UTF-8):   Gerenciador de arquivos compactados para o GNOME
4 Name:           file-roller
5 Version:        3.6.3
6 Release:        2
7 License:        GPL v2+
8 Group:          X11/Applications
9 Source0:        http://ftp.gnome.org/pub/GNOME/sources/file-roller/3.6/%{name}-%{version}.tar.xz
10 # Source0-md5:  6fdc21dfe47847125191a8ad8633871e
11 Patch0:         %{name}-magic.patch
12 URL:            http://www.gnome.org/
13 BuildRequires:  autoconf >= 2.68
14 BuildRequires:  automake >= 1:1.11
15 BuildRequires:  docbook-dtd412-xml
16 BuildRequires:  gettext-devel
17 BuildRequires:  glib2-devel >= 1:2.30.0
18 BuildRequires:  gtk+3-devel >= 3.4.0
19 BuildRequires:  intltool >= 0.40.0
20 BuildRequires:  json-glib-devel >= 0.14.0
21 BuildRequires:  libarchive-devel >= 3.0.0
22 BuildRequires:  libmagic-devel
23 BuildRequires:  libnotify-devel >= 0.4.3
24 BuildRequires:  libtool >= 2:2
25 BuildRequires:  libxml2-progs
26 BuildRequires:  nautilus-devel >= 2.26.0
27 BuildRequires:  pkgconfig
28 BuildRequires:  rpmbuild(find_lang) >= 1.23
29 BuildRequires:  rpmbuild(macros) >= 1.601
30 BuildRequires:  xorg-lib-libSM-devel
31 BuildRequires:  yelp-tools
32 Requires(post,postun):  desktop-file-utils
33 Requires(post,postun):  gtk-update-icon-cache
34 Requires:       glib2 >= 1:2.30.0
35 Requires:       gtk+3 >= 3.4.0
36 Requires:       hicolor-icon-theme
37 Requires:       json-glib >= 0.14.0
38 Requires:       libarchive >= 3.0.0
39 Requires:       libnotify >= 0.4.3
40 Requires:       nautilus-libs >= 2.26.0
41 Suggests:       bzip2
42 Suggests:       gzip
43 Suggests:       p7zip
44 %ifarch %{ix86}
45 Suggests:       rar
46 %else
47 Suggests:       unrar
48 %endif
49 Suggests:       tar
50 Suggests:       zip
51 # sr@Latn vs. sr@latin
52 Conflicts:      glibc-misc < 6:2.7
53 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54
55 %description
56 File Roller is an archive manager for the GNOME environment. With File
57 Roller you can: create and modify archives; view the content of an
58 archive; view a file contained in the archive; extract files from the
59 archive. File Roller is only a front-end (a graphical interface) to
60 various archiving programs. The supported file types are:
61 - Tar archives uncompressed (.tar) or compressed with
62  - gzip (.tar.gz , .tgz)
63  - bzip (.tar.bz , .tbz)
64  - bzip2 (.tar.bz2 , .tbz2)
65  - compress (.tar.Z , .taz)
66  - lzop (.tar.lzo , .tzo)
67 - Zip archives (.zip)
68 - Jar archives (.jar , .ear , .war)
69 - Lha archives (.lzh)
70 - Rar archives (.rar)
71 - Single files compressed with gzip, bzip, bzip2, compress, lzop.
72
73 %description -l pl.UTF-8
74 File Roller to zarządca archiwów dla środowiska GNOME. Przy jego
75 pomocy można: tworzyć i modyfikować archiwa, oglądać ich zawartość,
76 oglądać poszczególne pliki zawarte w archiwum oraz rozpakowywać pliki
77 z archiwów. File Roller jest tylko interfejsem graficznym do
78 właściwych programów archiwizujących. Obsługiwane typy plików to:
79 - archiwa tar nieskompresowane (.tar) lub skompresowane programami:
80  - gzip (.tar.gz, .tgz)
81  - bzip (.tar.bz, .tbz)
82  - bzip2 (.tar.bz2, .tbz2)
83  - compress (.tar.Z, .taz)
84  - lzop (.tar.lzo, .tzo)
85 - archiwa zip (.zip)
86 - archiwa jar (.jar, .ear, .war)
87 - archiwa lha (.lzh)
88 - archiwa rar (.rar)
89 - pojedyncze pliki skompresowane programami gzip, bzip, bzip2,
90   compress, lzop.
91
92 %description -l pt_BR.UTF-8
93 File Roller é um gerenciador de pacotes de arquivos compactados para o
94 ambiente GNOME. Com ele é possível criar arquivos, visualizar o
95 conteúdo de arquivos existentes, visualizar um arquivo contido em um
96 pacote e extrair os arquivos de um pacote.
97
98 %prep
99 %setup -q
100 %patch0 -p1
101
102 %build
103 %{__intltoolize}
104 %{__libtoolize}
105 %{__aclocal}
106 %{__autoconf}
107 %{__autoheader}
108 %{__automake}
109 %configure \
110         --disable-schemas-compile \
111         --disable-silent-rules \
112         --disable-static
113
114 %{__make}
115
116 %install
117 rm -rf $RPM_BUILD_ROOT
118
119 %{__make} install \
120         DESTDIR=$RPM_BUILD_ROOT
121
122 %{__rm} $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.la
123
124 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@ije,sr@ijekavian}
125 # the same locale as ur
126 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ur_PK
127
128 %find_lang %{name} --with-gnome --with-omf
129
130 %clean
131 rm -rf $RPM_BUILD_ROOT
132
133 %post
134 %update_desktop_database_post
135 %update_icon_cache hicolor
136 %glib_compile_schemas
137
138 %postun
139 %update_desktop_database_postun
140 %update_icon_cache hicolor
141 %glib_compile_schemas
142
143 %files -f %{name}.lang
144 %defattr(644,root,root,755)
145 %doc AUTHORS ChangeLog MAINTAINERS NEWS README README_COMMANDLINE
146 %attr(755,root,root) %{_bindir}/file-roller
147 %attr(755,root,root) %{_libdir}/nautilus/extensions-3.0/libnautilus-fileroller.so
148 %dir %{_libdir}/file-roller
149 %attr(755,root,root) %{_libdir}/file-roller/isoinfo.sh
150 %attr(755,root,root) %{_libdir}/file-roller/rpm2cpio
151 %{_datadir}/GConf/gsettings/file-roller.convert
152 %{_datadir}/dbus-1/services/org.gnome.FileRoller.service
153 %{_datadir}/file-roller
154 %{_datadir}/glib-2.0/schemas/org.gnome.FileRoller.gschema.xml
155 %{_desktopdir}/file-roller.desktop
156 %{_iconsdir}/hicolor/*/apps/file-roller.*
This page took 0.050547 seconds and 2 git commands to generate.