summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2017-04-23 17:19:36 +0200
committerJavier <dev.git@javispedro.com>2017-04-23 17:19:36 +0200
commit48cf22d3af28386ad853c30d3e389570e3cdca6e (patch)
treeac71d3d865ca32cff4c0e138a09ef18d1f7d4192
parent49be4df82c4c70354b116b7d651d6eb12db1e289 (diff)
downloadvolumefs-48cf22d3af28386ad853c30d3e389570e3cdca6e.tar.gz
volumefs-48cf22d3af28386ad853c30d3e389570e3cdca6e.zip
simplify autoconf and start adding rpm packaging
-rw-r--r--configure.ac3
-rw-r--r--packaging/volumefs.spec41
2 files changed, 41 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index be7ae25..e7b717a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,9 +13,6 @@ AC_CONFIG_MACRO_DIR([m4])
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_CC_STDC
-AC_PROG_LIBTOOL
-
-GLIB_GSETTINGS
# Checks for libraries.
PKG_CHECK_MODULES([FUSE], [fuse])
diff --git a/packaging/volumefs.spec b/packaging/volumefs.spec
new file mode 100644
index 0000000..49e8ec6
--- /dev/null
+++ b/packaging/volumefs.spec
@@ -0,0 +1,41 @@
+Name: volumefs
+Version: 1.0
+Release: 1%{?dist}
+Summary: FUSE filesystem for showing all currently mounted volumes
+Group: System Environment/Base
+License: GPL
+URL: https://git.javispedro.com/cgit/volumefs.git/
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: pkgconfig(fuse)
+BuildRequires: pkgconfig(udisks2)
+
+%description
+volumefs is a FUSE filesystem that will be automatically populated with
+symlinks to all currently mounted external filesystems, as detected by
+UDisks2.
+
+%package -n usersfs
+Summary: FUSE filesystem for showing ahome dirs of all users
+Group: System Environment/Base
+
+%prep
+%autosetup
+
+%build
+%configure
+%make_build
+
+%install
+%make_install
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+
+%files -n usersfs
+
+%changelog
+
+