Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
archivemount
archivemount.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File archivemount.spec of Package archivemount
# # spec file for package archivemount # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: archivemount Version: 0.6.2.607cd0d Release: 0 Summary: Archivemount - mounts an archive for access as a file system Group: Productivity/Archiving/Compression License: LGPL-2.1+ and BSD-2-Clause Url: http://www.cybernoia.de/software/archivemount/ BuildRequires: autoconf BuildRequires: automake BuildRequires: fuse-devel BuildRequires: libarchive-devel BuildRequires: pkg-config Source: archivemount-0.6.2.607cd0d.tar.gz Patch: archivemount-0.6.2.607cd0d.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Archivemount is a piece of glue code between libarchive (http://code.google.com/p/libarchive/) and FUSE (http://fuse.sourceforge.net). It can be used to mount a (possibly compressed) archive (as in .tar.gz or .tar.bz2) and use it like an ordinary filesystem. %prep %setup -q %patch %build cflags () { local flag=$1; shift local var=$1; shift test -n "${flag}" -a -n "${var}" || return case "${!var}" in *${flag}*) return esac set -o noclobber case "$flag" in -Wl,*) if echo 'int main () { return 0; }' | \ ${CC:-gcc} -Werror $flag -o /dev/null -xc - > /dev/null 2>&1 ; then eval $var=\${$var:+\$$var\ }$flag fi ;; *) if ${CC:-gcc} -Werror $flag -S -o /dev/null -xc /dev/null > /dev/null 2>&1 ; then eval $var=\${$var:+\$$var\ }$flag fi if ${CXX:-g++} -Werror $flag -S -o /dev/null -xc++ /dev/null > /dev/null 2>&1 ; then eval $var=\${$var:+\$$var\ }$flag fi esac set +o noclobber } LDFLAGS= cflags -Wl,-O2 LDFLAGS cflags -Wl,--as-needed LDFLAGS cflags -Wl,--hash-size=8599 LDFLAGS CFLAGS= cflags -Wall CFLAGS cflags -Wextra CFLAGS cflags -pipe CFLAGS cflags -pthread CFLAGS cflags -pthreads CFLAGS cflags -mthread CFLAGS cflags -mthreads CFLAGS cflags -g2 CFLAGS cflags -ggdb CFLAGS cflags -ftree-loop-im CFLAGS cflags -funswitch-loops CFLAGS cflags -fprefetch-loop-arrays CFLAGS cflags -fgraphite-identity CFLAGS cflags -ftree-loop-linear CFLAGS cflags -floop-flatten CFLAGS cflags -floop-parallelize-all CFLAGS autoreconf --force --install %global optflags %{optflags} -D_REENTRANT $LDFLAGS $CFLAGS %configure make %{?_smp_mflags} %install %makeinstall %clean rm -rf %{buildroot} %files %defattr(-,root,root,0755) %doc CHANGELOG README COPYING %{_bindir}/archivemount %{_mandir}/man1/archivemount.1.gz %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor