summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-07-17 22:31:17 +0200
committerGitHub <noreply@github.com>2017-07-17 22:31:17 +0200
commit6a969adeeb17755ee497de079a4e683432ec4ed4 (patch)
tree83b62f7c1f4551ccd4cff150ea8c7a606d09189b
parent1566a7353be2eb3dcceaf4ad12853c343b13b022 (diff)
parent049c7d3087b17a2c7864de9d080011bdf98965a7 (diff)
Merge pull request #29 from vtolstov/spec
add fedora spec file
-rw-r--r--spec/verne.spec65
1 files changed, 65 insertions, 0 deletions
diff --git a/spec/verne.spec b/spec/verne.spec
new file mode 100644
index 0000000..0286d6c
--- /dev/null
+++ b/spec/verne.spec
@@ -0,0 +1,65 @@
1%global provider github
2%global provider_tld com
3%global project marcelhollerbach
4%global repo verne
5%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
6%global import_path %{provider_prefix}
7%global commit 1566a7353be2eb3dcceaf4ad12853c343b13b022
8%global shortcommit %(c=%{commit}; echo ${c:0:7})
9
10Name: verne
11Version: 0.0.99
12Release: 1%{dist}
13Summary: EFL file manager
14License: BSD-2-Clause
15Group: Productivity/Graphics/Viewers
16URL: https://%{provider_prefix}
17Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
18BuildRequires: cmake check-devel libarchive-devel gcc gcc-c++ make
19BuildRequires: efl-devel enlightenment-devel
20Requires: efl
21BuildRequires: desktop-file-utils
22
23%description
24UNSTABLE: EFL file manager.
25
26%package devel
27Summary: Development files for EFM
28Requires: verne%{?_isa} = %{version}-%{release}
29
30%description devel
31Development files for EFM.
32
33
34%prep
35%setup -q -n verne-%{commit}
36
37%build
38cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr/ -DCMAKE_INSTALL_LIBDIR=%{_libdir}
39make %{?_smp_mflags}
40
41%install
42make DESTDIR=%{buildroot} install %{?_smp_mflags}
43desktop-file-validate %{buildroot}/%{_datadir}/applications/verne.desktop
44
45%files
46%defattr(-,root,root)
47%doc AUTHORS COPYING README.md
48%{_bindir}/%{name}
49%{_datadir}/applications/%{name}.desktop
50%{_datadir}/%{name}/
51%{_libdir}/emous-1/*.so
52%{_libdir}/enlightenment/modules/verne/*/module.so
53%{_libdir}/enlightenment/modules/verne/module.desktop
54%{_libdir}/*.so
55%{_datadir}/icons/hicolor/scalable/apps/verne.svg
56%{_datadir}/elm_ext/elm_ext.edc.edj
57
58%files devel
59%{_includedir}/efm-1/
60%{_includedir}/elm_ext-1/
61%{_includedir}/emous-1/
62
63%changelog
64* Mon Jul 18 2017 v.tolstov@selfip.ru
65- New snapshot