diff options
author | Yosl <yosl@seattlemesh.net> | 2020-02-17 18:59:31 -0800 |
---|---|---|
committer | Yosl <yosl@seattlemesh.net> | 2020-02-17 18:59:31 -0800 |
commit | 9ac4c64d6c780aad9d94d3b8a3be18aaa7ded918 (patch) | |
tree | 5413858f0c5af95eefb1dc539ddbdbdaeab397f2 | |
parent | a38bdae9ff39533285fb317ec681368a97f9efa9 (diff) | |
parent | c7f69f29b73d22d22cbf01ef6b729be528f44763 (diff) | |
download | gnunet-rpm-9ac4c64d6c780aad9d94d3b8a3be18aaa7ded918.tar.gz gnunet-rpm-9ac4c64d6c780aad9d94d3b8a3be18aaa7ded918.zip |
Merge branch 'subpkg-merge'
-rw-r--r-- | .copr/Makefile | 8 | ||||
-rw-r--r-- | rpmbuild/SPECS/gnunet-fedora.spec | 323 | ||||
-rw-r--r-- | rpmbuild/SPECS/gnunet-suse.spec | 97 |
3 files changed, 333 insertions, 95 deletions
diff --git a/.copr/Makefile b/.copr/Makefile new file mode 100644 index 0000000..963a194 --- /dev/null +++ b/.copr/Makefile | |||
@@ -0,0 +1,8 @@ | |||
1 | srpm: | ||
2 | dnf -y install libtool libtool-ltdl libtool-ltdl-devel autoconf make \ | ||
3 | texinfo gettext gcc openssl libgcrypt-devel \ | ||
4 | libunistring-devel miniupnpc libidn-devel zlib-devel \ | ||
5 | jansson-devel gnutls-devel libsqlite3x \ | ||
6 | libmicrohttpd-devel opus-devel libogg-devel sqlite-devel \ | ||
7 | zbar-devel gnutls-dane glibc pkgconf libgsf chrpath | ||
8 | rpmbuild -ba gnunet-fedora.spec | ||
diff --git a/rpmbuild/SPECS/gnunet-fedora.spec b/rpmbuild/SPECS/gnunet-fedora.spec index 87ec40d..ec50eb9 100644 --- a/rpmbuild/SPECS/gnunet-fedora.spec +++ b/rpmbuild/SPECS/gnunet-fedora.spec | |||
@@ -1,22 +1,29 @@ | |||
1 | %define gnunetuser gnunet | ||
2 | %define gnunethome %{_sharedstatedir}/%{name} | ||
3 | |||
4 | |||
1 | Name: gnunet | 5 | Name: gnunet |
2 | Version: 0.11.8 | 6 | Version: 0.12.2 |
3 | %if %{defined suse_version} | 7 | %if %{defined suse_version} |
4 | Release: 1~%{?suse_version} | 8 | Release: 1~%{?suse_version} |
5 | %else | 9 | %else |
6 | Release: 1~%{?dist} | 10 | Release: 1~%{?dist} |
7 | %endif | 11 | %endif |
8 | Summary: Framework for secure peer-to-peer networking | 12 | Summary: Framework for secure peer-to-peer networking |
9 | License: AGPL-3.0 | 13 | License: AGPL-3.0 |
10 | #Group: | 14 | Group: Productivity/Networking/File-Sharling |
11 | URL: https://gnunet.org | 15 | URL: https://%{name}.org |
12 | %undefine _disable_source_fetch | 16 | %undefine _disable_source_fetch |
13 | Source0: https://ftpmirror.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz | 17 | Source0: https://ftpmirror.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz |
14 | %define SHA512SUM0 bcdcd9452a905dcc0c474517f2941ae5822bda23e918c4ba5d61d085016d69eba5b1477bb30cf8179a6d6290898ea23ec485e3f1acfb3cf4ed0979ce8054af7e | 18 | #%define SHA512SUM0 bcdcd9452a905dcc0c474517f2941ae5822bda23e918c4ba5d61d085016d69eba5b1477bb30cf8179a6d6290898ea23ec485e3f1acfb3cf4ed0979ce8054af7e |
15 | BuildRequires: libtool | 19 | %define SHA512SUM0 210a9f06679d32dbb399a056e7a20e411cbfacf7945a282bd7e63eb8bfd7a324815efc48caedff32894d0a3f7a4ba9d1e879e2e04db0222282399ae6fc065c7b |
20 | BuildRequires: libtool | ||
21 | BuildRequires: libtool-ltdl | ||
22 | BuildRequires: libtool-ltdl-devel | ||
16 | BuildRequires: autoconf | 23 | BuildRequires: autoconf |
17 | BuildRequires: make | 24 | BuildRequires: make |
18 | BuildRequires: makeinfo | 25 | BuildRequires: texinfo |
19 | BuildRequires: gettext-tools | 26 | BuildRequires: gettext |
20 | BuildRequires: gcc | 27 | BuildRequires: gcc |
21 | BuildRequires: openssl | 28 | BuildRequires: openssl |
22 | BuildRequires: libgcrypt-devel | 29 | BuildRequires: libgcrypt-devel |
@@ -25,25 +32,27 @@ BuildRequires: miniupnpc | |||
25 | BuildRequires: libidn-devel | 32 | BuildRequires: libidn-devel |
26 | BuildRequires: zlib-devel | 33 | BuildRequires: zlib-devel |
27 | #BuildRequires: libglpk40 | 34 | #BuildRequires: libglpk40 |
28 | BuildRequires: libjansson-devel | 35 | BuildRequires: jansson-devel |
29 | BuildRequires: libgnutls-devel | 36 | BuildRequires: gnutls-devel |
30 | BuildRequires: libsqlite3-0 | 37 | BuildRequires: libsqlite3x |
31 | BuildRequires: libmicrohttpd-devel | 38 | BuildRequires: libmicrohttpd-devel |
32 | BuildRequires: libopus-devel | 39 | BuildRequires: opus-devel |
33 | BuildRequires: libpulse-devel | 40 | ##BuildRequires: pulse-devel |
34 | BuildRequires: libogg-devel | 41 | BuildRequires: libogg-devel |
35 | BuildRequires: sqlite3-devel | 42 | BuildRequires: sqlite-devel |
36 | BuildRequires: libzbar-devel | 43 | BuildRequires: zbar-devel |
37 | BuildRequires: libgnutls-dane-devel | 44 | BuildRequires: gnutls-dane |
38 | BuildRequires: glibc | 45 | BuildRequires: glibc |
39 | BuildRequires: pkgconf | 46 | BuildRequires: pkgconf |
40 | BuildRequires: libgsf | 47 | BuildRequires: libgsf |
41 | BuildRequires: libltdl7 | 48 | ##BuildRequires: libltdl7 |
49 | BuildRequires: chrpath | ||
50 | BuildRequires: pkgconfig | ||
42 | # The following package required adding a repo to Tumbleweed: | 51 | # The following package required adding a repo to Tumbleweed: |
43 | #BuildRequires: libextractor | 52 | #BuildRequires: libextractor |
44 | #Requires: | 53 | #Requires: |
45 | #BuildRoot: %{buildroot}/%{name}-%{version}-%{release} | 54 | #BuildRoot: %{buildroot}/%{name}-%{version}-%{release} |
46 | #BuildRoot: %{_buildrootdir} | 55 | #BuildRoot: %{_buildrootdir} |
47 | 56 | ||
48 | # Build with the following syntax: | 57 | # Build with the following syntax: |
49 | # rpmbuild --target noarch -bs gnunet.spec | 58 | # rpmbuild --target noarch -bs gnunet.spec |
@@ -78,14 +87,25 @@ echo "%SHA512SUM0 %SOURCE0" | sha512sum -c - | |||
78 | 87 | ||
79 | %build | 88 | %build |
80 | #%configure | 89 | #%configure |
81 | %configure --disable-rpath | 90 | #%configure --disable-rpath |
82 | #--prefix=%{_prefix} | 91 | #--prefix=%{_prefix} |
83 | #./configure | 92 | ./configure --prefix=/usr --libdir=/lib64 --disable-rpath --disable-static |
93 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool | ||
94 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool | ||
95 | make clean | ||
84 | %{make_build} | 96 | %{make_build} |
85 | 97 | ||
98 | %pre | ||
99 | /usr/sbin/groupadd -r %{name} | ||
100 | /usr/sbin/groupadd -r %{name}dns | ||
101 | /usr/sbin/useradd -r -g %{name} -G %{name}dns -m --base-dir %{gnunethome} %{gnunetuser} | ||
102 | |||
86 | %install | 103 | %install |
104 | #find %{buildroot} -type f -name '*.la' -delete | ||
87 | rm -rf $RPM_BUILD_ROOT | 105 | rm -rf $RPM_BUILD_ROOT |
88 | #cp -r %{_builddir}/* %{buildroot}/ | 106 | mkdir -p %{buildroot}/%{_sharedstatedir}/%{name} |
107 | mkdir -p %{buildroot}/%{_sysconfdir}/%{name} | ||
108 | cp -r %{_builddir}/* %{buildroot}/ | ||
89 | #mkdir -p %{buildroot}/%{_datadir}/%{name} | 109 | #mkdir -p %{buildroot}/%{_datadir}/%{name} |
90 | #mkdir -p %{buildroot}/%{_datadir}/%{name}/config.d | 110 | #mkdir -p %{buildroot}/%{_datadir}/%{name}/config.d |
91 | #mkdir -p %{buildroot}/%{_oldincludedir}/%{name} | 111 | #mkdir -p %{buildroot}/%{_oldincludedir}/%{name} |
@@ -97,11 +117,12 @@ rm -rf $RPM_BUILD_ROOT | |||
97 | #%{make_install} PREFIX=%{_prefix} INSTALL=%{__install} | 117 | #%{make_install} PREFIX=%{_prefix} INSTALL=%{__install} |
98 | ##%{make_build} | 118 | ##%{make_build} |
99 | #make clean | 119 | #make clean |
100 | #autoreconf | ||
101 | #mkdir -p %{buildroot}/{%_libdir} | 120 | #mkdir -p %{buildroot}/{%_libdir} |
102 | #mkdir -p %{buildroot}/{%_libdir}/%{name} | 121 | #mkdir -p %{buildroot}/{%_libdir}/%{name} |
103 | %{make_install} | 122 | #./configure --disable-rpath --disable-static |
123 | %{make_install} | ||
104 | #mkdir -p %{buildroot}/%{_datadir}/locale | 124 | #mkdir -p %{buildroot}/%{_datadir}/locale |
125 | autoreconf | ||
105 | #mkdir -p %{buildroot}/%{_datadir}/locale/de/LC_MESSAGES/ | 126 | #mkdir -p %{buildroot}/%{_datadir}/locale/de/LC_MESSAGES/ |
106 | #mkdir -p %{buildroot}/%{_datadir}/locale/es/LC_MESSAGES/ | 127 | #mkdir -p %{buildroot}/%{_datadir}/locale/es/LC_MESSAGES/ |
107 | #mkdir -p %{buildroot}/%{_datadir}/locale/fr/LC_MESSAGES/ | 128 | #mkdir -p %{buildroot}/%{_datadir}/locale/fr/LC_MESSAGES/ |
@@ -113,23 +134,129 @@ rm -rf $RPM_BUILD_ROOT | |||
113 | # BINDIR=%{buildroot}/%{_bindir} | 134 | # BINDIR=%{buildroot}/%{_bindir} |
114 | #make install DESTDIR=$RPM_BUILD_ROOT | 135 | #make install DESTDIR=$RPM_BUILD_ROOT |
115 | find %{buildroot} -type f | xargs sed -i "s|%{buildroot}||g" | 136 | find %{buildroot} -type f | xargs sed -i "s|%{buildroot}||g" |
116 | libtool --finish %{buildroot}/%{_libdir} | 137 | ####libtool --finish %{buildroot}/%{_libdir} |
138 | #mv %{buildroot}/%{_libdir}/libgnunetnt.la %{buildroot}/local/lib/libgnunetnt.la | ||
117 | libtool --finish %{buildroot}/%{_libdir}/%{name} | 139 | libtool --finish %{buildroot}/%{_libdir}/%{name} |
118 | libtool --finish %{buildroot}/%{_libdir}/%{name}/nss | 140 | libtool --finish %{buildroot}/%{_libdir}/%{name}/nss |
141 | #libtool --finish %{buildroot}/%{_libdir}/pkconfig | ||
142 | #libtool --finish %{buildroot}/%{_usr}/local/lib | ||
143 | #libtool --finish %{buildroot}/%{_usr}/local/lib/%{name} | ||
119 | mv %{buildroot}/%{buildroot}/share/* %{buildroot}/%{_datadir}/ | 144 | mv %{buildroot}/%{buildroot}/share/* %{buildroot}/%{_datadir}/ |
120 | rm -rf %{buildroot}/%{buildroot} | 145 | rm -rf %{buildroot}/%{buildroot} |
146 | rm -rf %{buildroot}/%{name}-%{version} | ||
147 | #chrpath --delete $RPM_BUILD_ROOT%{_libdir}/* | ||
148 | #chrpath --delete $RPM_BUILD_ROOT%{_libdir}/${name}/* | ||
149 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetconsensus.so.0.0.0 | ||
150 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetvpn.so.0.0.0 | ||
151 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetblockgroup.so.0.0.0 | ||
152 | chrpath --delete %{buildroot}/%{_libdir}/libgnunethello.so.0.1.0 | ||
153 | chrpath --delete %{buildroot}/%{_libdir}/libgnunettransportcommunicator.so.0.0.0 | ||
154 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetfs.so.2.1.1 | ||
155 | chrpath --delete %{buildroot}/%{_libdir}/libgnunettransportcore.so.0.0.0 | ||
156 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetjson.so.0.0.0 | ||
157 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetnse.so.0.0.0 | ||
158 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetregex.so.3.0.1 | ||
159 | #chrpath --delete %{buildroot}/%{_libdir}/libgnunetcore.so.0.0.1 | ||
160 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetpeerinfo.so.0.0.0 | ||
161 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetnt.so.0.0.0 | ||
162 | chrpath --delete %{buildroot}/%{_libdir}/libgnunettesting.so.1.1.0 | ||
163 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetreclaim.so.0.0.0 | ||
164 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetcadet.so.7.0.0 | ||
165 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetarm.so.2.0.0 | ||
166 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetdht.so.3.0.0 | ||
167 | chrpath --delete %{buildroot}/%{_libdir}/libgnunettestbed.so.0.0.0 | ||
168 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetdatastore.so.1.0.0 | ||
169 | chrpath --delete %{buildroot}/%{_libdir}/libgnunettransportmonitor.so.0.0.0 | ||
170 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetrevocation.so.0.0.0 | ||
171 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetats.so.4.0.0 | ||
172 | chrpath --delete %{buildroot}/%{_libdir}/libgnunettransporttesting.so.0.0.0 | ||
173 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetfriends.so.0.0.0 | ||
174 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetnamestore.so.0.0.1 | ||
175 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetdatacache.so.0.0.1 | ||
176 | chrpath --delete %{buildroot}/%{_libdir}/libgnunettransportapplication.so.0.0.0 | ||
177 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetnatnew.so.2.0.0 | ||
178 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetblock.so.0.0.0 | ||
179 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetfs.so.2.1.1 | ||
180 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetdns.so.0.0.0 | ||
181 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetscalarproduct.so.0.0.0 | ||
182 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetsq.so.0.0.0 | ||
183 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetfragmentation.so.2.0.0 | ||
184 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetregexblock.so.1.0.0 | ||
185 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_block_gns.so | ||
186 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_block_regex.so | ||
187 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_datacache_sqlite.so | ||
188 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_datastore_sqlite.so | ||
189 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_block_fs.so | ||
190 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_block_dns.so | ||
191 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_rest_peerinfo.so | ||
192 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_rest_gns.so | ||
193 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_gnsrecord_gns.so | ||
194 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_datacache_heap.so | ||
195 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_gnsrecord_dns.so | ||
196 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_reclaim_attribute_gnuid.so | ||
197 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_rest_namestore.so | ||
198 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_rest_copying.so | ||
199 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_block_test.so | ||
200 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_transport_https_server.so | ||
201 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_block_consensus.so | ||
202 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_block_set_test.so | ||
203 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_block_dht.so | ||
204 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_datastore_heap.so | ||
205 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_rest_reclaim.so | ||
206 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_namecache_sqlite.so | ||
207 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_namestore_sqlite.so | ||
208 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_ats_proportional.so | ||
209 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_block_revocation.so | ||
210 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_transport_unix.so | ||
211 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_rest_config.so | ||
212 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_rest_openid_connect.so | ||
213 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_peerstore_sqlite.so | ||
214 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_transport_http_server.so | ||
215 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_namestore_flat.so | ||
216 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_gnsrecord_reclaim.so | ||
217 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_transport_tcp.so | ||
218 | chrpath --delete %{buildroot}/%{_libdir}/%{name}/libgnunet_plugin_rest_identity.so | ||
219 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetidentity.so.1.0.0 | ||
220 | chrpath --delete %{buildroot}/%{_libdir}/libgnunettransport.so.2.2.0 | ||
221 | chrpath --delete %{buildroot}/%{_libdir}/libgnunettransporttesting2.so.0.0.0 | ||
222 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetnatauto.so.0.0.0 | ||
223 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetpeerstore.so.0.0.0 | ||
224 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetatstesting.so.0.0.0 | ||
225 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetgns.so.0.0.0 | ||
226 | chrpath --delete %{buildroot}/%{_libdir}/libgnunettestbedlogger.so.0.0.0 | ||
227 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetset.so.0.0.0 | ||
228 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetrest.so.0.0.0 | ||
229 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetreclaimattribute.so.0.0.0 | ||
230 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetnamecache.so.0.0.0 | ||
231 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetstatistics.so.2.0.0 | ||
232 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetgnsrecord.so.0.0.0 | ||
233 | chrpath --delete %{buildroot}/%{_libdir}/libgnunetsecretsharing.so.0.0.0 | ||
234 | #chrpath --delete %{buildroot}/gnunet-0.11.8/src/core/.libs/libgnunetcore.so.0.0.1 | ||
235 | #chrpath --delete %{buildroot}/usr/lib64/libgnunetspeaker.so.0.0.0 | ||
236 | #chrpath --delete %{buildroot}/usr/lib64/libgnunetmy.so.0.0.0 | ||
237 | chrpath --delete %{buildroot}/usr/lib64/libgnunetcore.so.0.0.1 | ||
238 | #chrpath --delete %{buildroot}/usr/lib64/libgnunetconversation.so.0.0.0 | ||
239 | #chrpath --delete %{buildroot}/usr/lib64/gnunet/libgnunet_plugin_datastore_mysql.so | ||
240 | #chrpath --delete %{buildroot}/usr/lib64/gnunet/libgnunet_plugin_gnsrecord_conversation.so | ||
241 | #chrpath --delete %{buildroot}/usr/lib64/libgnunetmysql.so.0.0.0 | ||
242 | #chrpath --delete %{buildroot}/usr/lib64/libgnunetmicrophone.so.0.0.0 | ||
243 | |||
121 | %check | 244 | %check |
122 | #make check | 245 | #make check |
123 | 246 | ||
124 | %post | 247 | %post |
125 | mkdir -p /etc/gnunet | 248 | #mkdir -p /etc/gnunet |
126 | touch /etc/gnunet/gnunet.conf | 249 | touch /etc/gnunet/gnunet.conf |
127 | 250 | ||
128 | %clean | 251 | %clean |
129 | 252 | ||
130 | %files | 253 | %files |
131 | %license COPYING | 254 | %attr(0700, %{gnunetuser}, %{gnunetuser}) |
132 | %doc doc | 255 | %dir %{gnunethome} |
256 | %license %{_datadir}/%{name}/LICENSE | ||
257 | %doc %{_defaultdocdir}/%{name}/COPYING | ||
258 | %doc doc AUTHORS ChangeLog NEWS README | ||
259 | #%config %{_sysconfdir}/gnunet.conf | ||
133 | %{_bindir}/gnunet-ats | 260 | %{_bindir}/gnunet-ats |
134 | %{_bindir}/gnunet-arm | 261 | %{_bindir}/gnunet-arm |
135 | %{_bindir}/gnunet-auto-share | 262 | %{_bindir}/gnunet-auto-share |
@@ -138,8 +265,8 @@ touch /etc/gnunet/gnunet.conf | |||
138 | %{_bindir}/gnunet-cadet | 265 | %{_bindir}/gnunet-cadet |
139 | %{_bindir}/gnunet-config | 266 | %{_bindir}/gnunet-config |
140 | %{_bindir}/gnunet-consensus-profiler | 267 | %{_bindir}/gnunet-consensus-profiler |
141 | %{_bindir}/gnunet-conversation | 268 | #%{_bindir}/gnunet-conversation |
142 | %{_bindir}/gnunet-conversation-test | 269 | #%{_bindir}/gnunet-conversation-test |
143 | %{_bindir}/gnunet-core | 270 | %{_bindir}/gnunet-core |
144 | %{_bindir}/gnunet-datastore | 271 | %{_bindir}/gnunet-datastore |
145 | %{_bindir}/gnunet-dht-get | 272 | %{_bindir}/gnunet-dht-get |
@@ -291,7 +418,7 @@ touch /etc/gnunet/gnunet.conf | |||
291 | %{_oldincludedir}/%{name}/gnunet_util_lib.h | 418 | %{_oldincludedir}/%{name}/gnunet_util_lib.h |
292 | %{_oldincludedir}/%{name}/gnunet_vpn_service.h | 419 | %{_oldincludedir}/%{name}/gnunet_vpn_service.h |
293 | %{_oldincludedir}/%{name}/platform.h | 420 | %{_oldincludedir}/%{name}/platform.h |
294 | %dir /%{_libdir} | 421 | #%dir /%{_libdir} |
295 | /%{_libdir}/pkgconfig/gnunetarm.pc | 422 | /%{_libdir}/pkgconfig/gnunetarm.pc |
296 | /%{_libdir}/pkgconfig/gnunetats.pc | 423 | /%{_libdir}/pkgconfig/gnunetats.pc |
297 | /%{_libdir}/pkgconfig/gnunetblock.pc | 424 | /%{_libdir}/pkgconfig/gnunetblock.pc |
@@ -339,8 +466,8 @@ touch /etc/gnunet/gnunet.conf | |||
339 | /%{_libdir}/%{name}/libexec/gnunet-daemon-testbed-underlay | 466 | /%{_libdir}/%{name}/libexec/gnunet-daemon-testbed-underlay |
340 | /%{_libdir}/%{name}/libexec/gnunet-daemon-topology | 467 | /%{_libdir}/%{name}/libexec/gnunet-daemon-topology |
341 | /%{_libdir}/%{name}/libexec/gnunet-dns2gns | 468 | /%{_libdir}/%{name}/libexec/gnunet-dns2gns |
342 | /%{_libdir}/%{name}/libexec/gnunet-helper-audio-playback | 469 | #/%{_libdir}/%{name}/libexec/gnunet-helper-audio-playback |
343 | /%{_libdir}/%{name}/libexec/gnunet-helper-audio-record | 470 | #/%{_libdir}/%{name}/libexec/gnunet-helper-audio-record |
344 | /%{_libdir}/%{name}/libexec/gnunet-helper-dns | 471 | /%{_libdir}/%{name}/libexec/gnunet-helper-dns |
345 | /%{_libdir}/%{name}/libexec/gnunet-helper-exit | 472 | /%{_libdir}/%{name}/libexec/gnunet-helper-exit |
346 | /%{_libdir}/%{name}/libexec/gnunet-helper-fs-publish | 473 | /%{_libdir}/%{name}/libexec/gnunet-helper-fs-publish |
@@ -354,7 +481,7 @@ touch /etc/gnunet/gnunet.conf | |||
354 | /%{_libdir}/%{name}/libexec/gnunet-service-ats | 481 | /%{_libdir}/%{name}/libexec/gnunet-service-ats |
355 | /%{_libdir}/%{name}/libexec/gnunet-service-cadet | 482 | /%{_libdir}/%{name}/libexec/gnunet-service-cadet |
356 | /%{_libdir}/%{name}/libexec/gnunet-service-consensus | 483 | /%{_libdir}/%{name}/libexec/gnunet-service-consensus |
357 | /%{_libdir}/%{name}/libexec/gnunet-service-conversation | 484 | #/%{_libdir}/%{name}/libexec/gnunet-service-conversation |
358 | /%{_libdir}/%{name}/libexec/gnunet-service-core | 485 | /%{_libdir}/%{name}/libexec/gnunet-service-core |
359 | /%{_libdir}/%{name}/libexec/gnunet-service-datastore | 486 | /%{_libdir}/%{name}/libexec/gnunet-service-datastore |
360 | /%{_libdir}/%{name}/libexec/gnunet-service-dht | 487 | /%{_libdir}/%{name}/libexec/gnunet-service-dht |
@@ -417,8 +544,8 @@ touch /etc/gnunet/gnunet.conf | |||
417 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_datastore_heap.so | 544 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_datastore_heap.so |
418 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_datastore_sqlite.la | 545 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_datastore_sqlite.la |
419 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_datastore_sqlite.so | 546 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_datastore_sqlite.so |
420 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_gnsrecord_conversation.la | 547 | #/%{_usr}/%{_lib}/%{name}/libgnunet_plugin_gnsrecord_conversation.la |
421 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_gnsrecord_conversation.so | 548 | #/%{_usr}/%{_lib}/%{name}/libgnunet_plugin_gnsrecord_conversation.so |
422 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_gnsrecord_dns.la | 549 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_gnsrecord_dns.la |
423 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_gnsrecord_dns.so | 550 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_gnsrecord_dns.so |
424 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_gnsrecord_gns.la | 551 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_gnsrecord_gns.la |
@@ -459,8 +586,8 @@ touch /etc/gnunet/gnunet.conf | |||
459 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_transport_https_server.so | 586 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_transport_https_server.so |
460 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_transport_tcp.la | 587 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_transport_tcp.la |
461 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_transport_tcp.so | 588 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_transport_tcp.so |
462 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_transport_udp.la | 589 | #/%{_usr}/%{_lib}/%{name}/libgnunet_plugin_transport_udp.la |
463 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_transport_udp.so | 590 | #/%{_usr}/%{_lib}/%{name}/libgnunet_plugin_transport_udp.so |
464 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_transport_unix.la | 591 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_transport_unix.la |
465 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_transport_unix.so | 592 | /%{_usr}/%{_lib}/%{name}/libgnunet_plugin_transport_unix.so |
466 | %dir /{%_libdir}/%{name}/nss | 593 | %dir /{%_libdir}/%{name}/nss |
@@ -498,10 +625,10 @@ touch /etc/gnunet/gnunet.conf | |||
498 | %{_libdir}/libgnunetconsensus.so | 625 | %{_libdir}/libgnunetconsensus.so |
499 | %{_libdir}/libgnunetconsensus.so.0 | 626 | %{_libdir}/libgnunetconsensus.so.0 |
500 | %{_libdir}/libgnunetconsensus.so.0.0.0 | 627 | %{_libdir}/libgnunetconsensus.so.0.0.0 |
501 | %{_libdir}/libgnunetconversation.la | 628 | #%{_libdir}/libgnunetconversation.la |
502 | %{_libdir}/libgnunetconversation.so | 629 | #%{_libdir}/libgnunetconversation.so |
503 | %{_libdir}/libgnunetconversation.so.0 | 630 | #%{_libdir}/libgnunetconversation.so.0 |
504 | %{_libdir}/libgnunetconversation.so.0.0.0 | 631 | #%{_libdir}/libgnunetconversation.so.0.0.0 |
505 | %{_libdir}/libgnunetcore.la | 632 | %{_libdir}/libgnunetcore.la |
506 | %{_libdir}/libgnunetcore.so | 633 | %{_libdir}/libgnunetcore.so |
507 | %{_libdir}/libgnunetcore.so.0 | 634 | %{_libdir}/libgnunetcore.so.0 |
@@ -554,10 +681,10 @@ touch /etc/gnunet/gnunet.conf | |||
554 | %{_libdir}/libgnunetjson.so | 681 | %{_libdir}/libgnunetjson.so |
555 | %{_libdir}/libgnunetjson.so.0 | 682 | %{_libdir}/libgnunetjson.so.0 |
556 | %{_libdir}/libgnunetjson.so.0.0.0 | 683 | %{_libdir}/libgnunetjson.so.0.0.0 |
557 | %{_libdir}/libgnunetmicrophone.la | 684 | #%{_libdir}/libgnunetmicrophone.la |
558 | %{_libdir}/libgnunetmicrophone.so | 685 | #%{_libdir}/libgnunetmicrophone.so |
559 | %{_libdir}/libgnunetmicrophone.so.0 | 686 | #%{_libdir}/libgnunetmicrophone.so.0 |
560 | %{_libdir}/libgnunetmicrophone.so.0.0.0 | 687 | #%{_libdir}/libgnunetmicrophone.so.0.0.0 |
561 | %{_libdir}/libgnunetnamecache.la | 688 | %{_libdir}/libgnunetnamecache.la |
562 | %{_libdir}/libgnunetnamecache.so | 689 | %{_libdir}/libgnunetnamecache.so |
563 | %{_libdir}/libgnunetnamecache.so.0 | 690 | %{_libdir}/libgnunetnamecache.so.0 |
@@ -626,10 +753,10 @@ touch /etc/gnunet/gnunet.conf | |||
626 | %{_libdir}/libgnunetset.so | 753 | %{_libdir}/libgnunetset.so |
627 | %{_libdir}/libgnunetset.so.0 | 754 | %{_libdir}/libgnunetset.so.0 |
628 | %{_libdir}/libgnunetset.so.0.0.0 | 755 | %{_libdir}/libgnunetset.so.0.0.0 |
629 | %{_libdir}/libgnunetspeaker.la | 756 | #%{_libdir}/libgnunetspeaker.la |
630 | %{_libdir}/libgnunetspeaker.so | 757 | #%{_libdir}/libgnunetspeaker.so |
631 | %{_libdir}/libgnunetspeaker.so.0 | 758 | #%{_libdir}/libgnunetspeaker.so.0 |
632 | %{_libdir}/libgnunetspeaker.so.0.0.0 | 759 | #%{_libdir}/libgnunetspeaker.so.0.0.0 |
633 | %{_libdir}/libgnunetsq.la | 760 | %{_libdir}/libgnunetsq.la |
634 | %{_libdir}/libgnunetsq.so | 761 | %{_libdir}/libgnunetsq.so |
635 | %{_libdir}/libgnunetsq.so.0 | 762 | %{_libdir}/libgnunetsq.so.0 |
@@ -686,7 +813,7 @@ touch /etc/gnunet/gnunet.conf | |||
686 | %{_libdir}/libgnunetvpn.so | 813 | %{_libdir}/libgnunetvpn.so |
687 | %{_libdir}/libgnunetvpn.so.0 | 814 | %{_libdir}/libgnunetvpn.so.0 |
688 | %{_libdir}/libgnunetvpn.so.0.0.0 | 815 | %{_libdir}/libgnunetvpn.so.0.0.0 |
689 | %doc %{_datadir}/doc/%{name} | 816 | #%doc %{_datadir}/doc/%{name} |
690 | #/usr/share/doc/%{name}/README | 817 | #/usr/share/doc/%{name}/README |
691 | %dir %{_datadir}/%{name}/config.d | 818 | %dir %{_datadir}/%{name}/config.d |
692 | %{_datadir}/%{name}/config.d/arm.conf | 819 | %{_datadir}/%{name}/config.d/arm.conf |
@@ -694,7 +821,7 @@ touch /etc/gnunet/gnunet.conf | |||
694 | %{_datadir}/%{name}/config.d/cadet.conf | 821 | %{_datadir}/%{name}/config.d/cadet.conf |
695 | %{_datadir}/%{name}/config.d/communicator-unix.conf | 822 | %{_datadir}/%{name}/config.d/communicator-unix.conf |
696 | %{_datadir}/%{name}/config.d/consensus.conf | 823 | %{_datadir}/%{name}/config.d/consensus.conf |
697 | %{_datadir}/%{name}/config.d/conversation.conf | 824 | #%{_datadir}/%{name}/config.d/conversation.conf |
698 | %{_datadir}/%{name}/config.d/core.conf | 825 | %{_datadir}/%{name}/config.d/core.conf |
699 | %{_datadir}/%{name}/config.d/datacache.conf | 826 | %{_datadir}/%{name}/config.d/datacache.conf |
700 | %{_datadir}/%{name}/config.d/datastore.conf | 827 | %{_datadir}/%{name}/config.d/datastore.conf |
@@ -739,49 +866,17 @@ touch /etc/gnunet/gnunet.conf | |||
739 | %{_datadir}/%{name}/gnunet-gns-proxy-ca.template | 866 | %{_datadir}/%{name}/gnunet-gns-proxy-ca.template |
740 | %{_datadir}/%{name}/gnunet-logo-color.png | 867 | %{_datadir}/%{name}/gnunet-logo-color.png |
741 | %{_datadir}/%{name}/gnunet-logo.pdf | 868 | %{_datadir}/%{name}/gnunet-logo.pdf |
869 | %{_datadir}/%{name}/existence.sh | ||
870 | %{_datadir}/%{name}/existence_python.sh | ||
871 | %{_datadir}/%{name}/gnunet-logo.png | ||
872 | %{_datadir}/%{name}/msg.sh | ||
873 | %{_datadir}/%{name}/progname.sh | ||
874 | %{_datadir}/%{name}/python.sh | ||
875 | %{_datadir}/%{name}/version_gnunet.sh | ||
742 | %{_datadir}/%{name}/hellos/Y924NSHMMZ1N1SQCE5TXF93ED6S6JY311K0QT86G9WJC68F6XVZ0 | 876 | %{_datadir}/%{name}/hellos/Y924NSHMMZ1N1SQCE5TXF93ED6S6JY311K0QT86G9WJC68F6XVZ0 |
743 | %{_datadir}/%{name}/services/openrc/gnunet.initd | 877 | %{_datadir}/%{name}/services/openrc/gnunet.initd |
744 | %{_datadir}/%{name}/services/systemd/gnunet.service | 878 | %{_datadir}/%{name}/services/systemd/gnunet.service |
745 | %{_datadir}/%{name}/testing_hostkeys.ecc | 879 | %{_datadir}/%{name}/testing_hostkeys.ecc |
746 | %{_infodir}/gnunet-tutorial.info.gz | ||
747 | %{_infodir}/gnunet.info-1.gz | ||
748 | %{_infodir}/gnunet.info-2.gz | ||
749 | %{_infodir}/gnunet.info-3.gz | ||
750 | %{_infodir}/gnunet.info.gz | ||
751 | %{_infodir}/images/daemon_lego_block.png | ||
752 | %{_infodir}/images/daemon_lego_block.svg.gz | ||
753 | %{_infodir}/images/gns.dot.gz | ||
754 | %{_infodir}/images/gns.jpg | ||
755 | %{_infodir}/images/gnunet-0-10-peerinfo.png | ||
756 | %{_infodir}/images/gnunet-fs-gtk-0-10-star-tab.png | ||
757 | %{_infodir}/images/gnunet-gtk-0-10-download-area.png | ||
758 | %{_infodir}/images/gnunet-gtk-0-10-fs-menu.png | ||
759 | %{_infodir}/images/gnunet-gtk-0-10-fs-publish-editing.png | ||
760 | %{_infodir}/images/gnunet-gtk-0-10-fs-publish-select.png | ||
761 | %{_infodir}/images/gnunet-gtk-0-10-fs-publish-with-file.png | ||
762 | %{_infodir}/images/gnunet-gtk-0-10-fs-publish-with-file_0.png | ||
763 | %{_infodir}/images/gnunet-gtk-0-10-fs-publish.png | ||
764 | %{_infodir}/images/gnunet-gtk-0-10-fs-published.png | ||
765 | %{_infodir}/images/gnunet-gtk-0-10-fs-search.png | ||
766 | %{_infodir}/images/gnunet-gtk-0-10-fs.png | ||
767 | %{_infodir}/images/gnunet-gtk-0-10-gns-a-done.png | ||
768 | %{_infodir}/images/gnunet-gtk-0-10-gns-a.png | ||
769 | %{_infodir}/images/gnunet-gtk-0-10-gns.png | ||
770 | %{_infodir}/images/gnunet-gtk-0-10-identity.png | ||
771 | %{_infodir}/images/gnunet-gtk-0-10-search-selected.png | ||
772 | %{_infodir}/images/gnunet-gtk-0-10-traffic.png | ||
773 | %{_infodir}/images/gnunet-namestore-gtk-phone.png | ||
774 | %{_infodir}/images/gnunet-namestore-gtk-vpn.png | ||
775 | %{_infodir}/images/gnunet-setup-exit.png | ||
776 | %{_infodir}/images/gnunet-tutorial-service.png | ||
777 | %{_infodir}/images/gnunet-tutorial-system.png | ||
778 | %{_infodir}/images/iceweasel-preferences.png | ||
779 | %{_infodir}/images/iceweasel-proxy.png | ||
780 | %{_infodir}/images/lego_stack.svg.gz | ||
781 | %{_infodir}/images/service_lego_block.png | ||
782 | %{_infodir}/images/service_lego_block.svg.gz | ||
783 | %{_infodir}/images/service_stack.png | ||
784 | %{_infodir}/images/structure.dot.gz | ||
785 | %{_datadir}/locale/de/LC_MESSAGES/gnunet.mo | 880 | %{_datadir}/locale/de/LC_MESSAGES/gnunet.mo |
786 | %{_datadir}/locale/es/LC_MESSAGES/gnunet.mo | 881 | %{_datadir}/locale/es/LC_MESSAGES/gnunet.mo |
787 | %{_datadir}/locale/fr/LC_MESSAGES/gnunet.mo | 882 | %{_datadir}/locale/fr/LC_MESSAGES/gnunet.mo |
@@ -835,10 +930,52 @@ touch /etc/gnunet/gnunet.conf | |||
835 | %{_mandir}/man1/gnunet-vpn.1.gz | 930 | %{_mandir}/man1/gnunet-vpn.1.gz |
836 | %{_mandir}/man1/gnunet-zoneimport.1.gz | 931 | %{_mandir}/man1/gnunet-zoneimport.1.gz |
837 | %{_mandir}/man5/gnunet.conf.5.gz | 932 | %{_mandir}/man5/gnunet.conf.5.gz |
838 | 933 | %{_mandir}/man1/gnunet-bugreport.1.gz | |
934 | %{_bindir}/gnunet-suidfix | ||
935 | %{_infodir}/dir | ||
936 | %{_infodir}/gnunet-tutorial.info.gz | ||
937 | %{_infodir}/gnunet.info-1.gz | ||
938 | %{_infodir}/gnunet.info-2.gz | ||
939 | %{_infodir}/gnunet.info-3.gz | ||
940 | %{_infodir}/gnunet.info.gz | ||
941 | %{_infodir}/images/daemon_lego_block.png.gz | ||
942 | %{_infodir}/images/daemon_lego_block.svg.gz | ||
943 | %{_infodir}/images/gns.dot.gz | ||
944 | %{_infodir}/images/gns.jpg.gz | ||
945 | %{_infodir}/images/gnunet-0-10-peerinfo.png.gz | ||
946 | %{_infodir}/images/gnunet-fs-gtk-0-10-star-tab.png.gz | ||
947 | %{_infodir}/images/gnunet-gtk-0-10-download-area.png.gz | ||
948 | %{_infodir}/images/gnunet-gtk-0-10-fs-menu.png.gz | ||
949 | %{_infodir}/images/gnunet-gtk-0-10-fs-publish-editing.png.gz | ||
950 | %{_infodir}/images/gnunet-gtk-0-10-fs-publish-select.png.gz | ||
951 | %{_infodir}/images/gnunet-gtk-0-10-fs-publish-with-file.png.gz | ||
952 | %{_infodir}/images/gnunet-gtk-0-10-fs-publish-with-file_0.png.gz | ||
953 | %{_infodir}/images/gnunet-gtk-0-10-fs-publish.png.gz | ||
954 | %{_infodir}/images/gnunet-gtk-0-10-fs-published.png.gz | ||
955 | %{_infodir}/images/gnunet-gtk-0-10-fs-search.png.gz | ||
956 | %{_infodir}/images/gnunet-gtk-0-10-fs.png.gz | ||
957 | %{_infodir}/images/gnunet-gtk-0-10-gns-a-done.png.gz | ||
958 | %{_infodir}/images/gnunet-gtk-0-10-gns-a.png.gz | ||
959 | %{_infodir}/images/gnunet-gtk-0-10-gns.png.gz | ||
960 | %{_infodir}/images/gnunet-gtk-0-10-identity.png.gz | ||
961 | %{_infodir}/images/gnunet-gtk-0-10-search-selected.png.gz | ||
962 | %{_infodir}/images/gnunet-gtk-0-10-traffic.png.gz | ||
963 | %{_infodir}/images/gnunet-namestore-gtk-phone.png.gz | ||
964 | %{_infodir}/images/gnunet-namestore-gtk-vpn.png.gz | ||
965 | %{_infodir}/images/gnunet-setup-exit.png.gz | ||
966 | %{_infodir}/images/gnunet-tutorial-service.png.gz | ||
967 | %{_infodir}/images/gnunet-tutorial-system.png.gz | ||
968 | %{_infodir}/images/iceweasel-preferences.png.gz | ||
969 | %{_infodir}/images/iceweasel-proxy.png.gz | ||
970 | %{_infodir}/images/lego_stack.svg.gz | ||
971 | %{_infodir}/images/service_lego_block.png.gz | ||
972 | %{_infodir}/images/service_lego_block.svg.gz | ||
973 | %{_infodir}/images/service_stack.png.gz | ||
974 | %{_infodir}/images/structure.dot.gz | ||
839 | 975 | ||
840 | 976 | ||
841 | 977 | ||
842 | %changelog | 978 | %changelog |
843 | * Sun Dec 1 2019 Joseph Burchetta <joseph@seattlemesh.net> - 0.11.8-0-1550 | 979 | * Sun Dec 1 2019 Joseph Burchetta <joseph@seattlemesh.net> - 0.11.8-0-1550 |
844 | - First GNUnet RPM | 980 | - First GNUnet RPM |
981 | |||
diff --git a/rpmbuild/SPECS/gnunet-suse.spec b/rpmbuild/SPECS/gnunet-suse.spec index 87ec40d..7a0d3cc 100644 --- a/rpmbuild/SPECS/gnunet-suse.spec +++ b/rpmbuild/SPECS/gnunet-suse.spec | |||
@@ -1,3 +1,6 @@ | |||
1 | %define gnunetuser gnunet | ||
2 | %define gnunethome %{_sharedstatedir}/%{name} | ||
3 | |||
1 | Name: gnunet | 4 | Name: gnunet |
2 | Version: 0.11.8 | 5 | Version: 0.11.8 |
3 | %if %{defined suse_version} | 6 | %if %{defined suse_version} |
@@ -83,8 +86,15 @@ echo "%SHA512SUM0 %SOURCE0" | sha512sum -c - | |||
83 | #./configure | 86 | #./configure |
84 | %{make_build} | 87 | %{make_build} |
85 | 88 | ||
89 | %pre | ||
90 | /usr/sbin/groupadd -r %{name} | ||
91 | /usr/sbin/groupadd -r %{name}dns | ||
92 | /usr/sbin/useradd -r -g %{name} -G %{name}dns -m --base-dir %{gnunethome} %{gnunetuser} | ||
93 | |||
86 | %install | 94 | %install |
87 | rm -rf $RPM_BUILD_ROOT | 95 | rm -rf $RPM_BUILD_ROOT |
96 | mkdir -p %{buildroot}/%{_sharedstatedir}/%{name} | ||
97 | mkdir -p %{buildroot}/%{_sysconfdir}/%{name} | ||
88 | #cp -r %{_builddir}/* %{buildroot}/ | 98 | #cp -r %{_builddir}/* %{buildroot}/ |
89 | #mkdir -p %{buildroot}/%{_datadir}/%{name} | 99 | #mkdir -p %{buildroot}/%{_datadir}/%{name} |
90 | #mkdir -p %{buildroot}/%{_datadir}/%{name}/config.d | 100 | #mkdir -p %{buildroot}/%{_datadir}/%{name}/config.d |
@@ -122,14 +132,17 @@ rm -rf %{buildroot}/%{buildroot} | |||
122 | #make check | 132 | #make check |
123 | 133 | ||
124 | %post | 134 | %post |
125 | mkdir -p /etc/gnunet | 135 | #mkdir -p /etc/gnunet |
126 | touch /etc/gnunet/gnunet.conf | 136 | touch /etc/gnunet/gnunet.conf |
127 | 137 | ||
128 | %clean | 138 | %clean |
129 | 139 | ||
130 | %files | 140 | %files |
141 | %attr(0700, %{gnunetuser}, %{gnunetuser}) | ||
142 | %dir %{gnunethome} | ||
131 | %license COPYING | 143 | %license COPYING |
132 | %doc doc | 144 | %doc doc AUTHORS ChangeLog NEWS README |
145 | #%config %{_sysconfdir}/gnunet.conf | ||
133 | %{_bindir}/gnunet-ats | 146 | %{_bindir}/gnunet-ats |
134 | %{_bindir}/gnunet-arm | 147 | %{_bindir}/gnunet-arm |
135 | %{_bindir}/gnunet-auto-share | 148 | %{_bindir}/gnunet-auto-share |
@@ -833,6 +846,86 @@ touch /etc/gnunet/gnunet.conf | |||
833 | %{_mandir}/man1/gnunet-unindex.1.gz | 846 | %{_mandir}/man1/gnunet-unindex.1.gz |
834 | %{_mandir}/man1/gnunet-uri.1.gz | 847 | %{_mandir}/man1/gnunet-uri.1.gz |
835 | %{_mandir}/man1/gnunet-vpn.1.gz | 848 | %{_mandir}/man1/gnunet-vpn.1.gz |
849 | %{_infodir}/images/gnunet-fs-gtk-0-10-star-tab.png | ||
850 | %{_infodir}/images/gnunet-gtk-0-10-download-area.png | ||
851 | %{_infodir}/images/gnunet-gtk-0-10-fs-menu.png | ||
852 | %{_infodir}/images/gnunet-gtk-0-10-fs-publish-editing.png | ||
853 | %{_infodir}/images/gnunet-gtk-0-10-fs-publish-select.png | ||
854 | %{_infodir}/images/gnunet-gtk-0-10-fs-publish-with-file.png | ||
855 | %{_infodir}/images/gnunet-gtk-0-10-fs-publish-with-file_0.png | ||
856 | %{_infodir}/images/gnunet-gtk-0-10-fs-publish.png | ||
857 | %{_infodir}/images/gnunet-gtk-0-10-fs-published.png | ||
858 | %{_infodir}/images/gnunet-gtk-0-10-fs-search.png | ||
859 | %{_infodir}/images/gnunet-gtk-0-10-fs.png | ||
860 | %{_infodir}/images/gnunet-gtk-0-10-gns-a-done.png | ||
861 | %{_infodir}/images/gnunet-gtk-0-10-gns-a.png | ||
862 | %{_infodir}/images/gnunet-gtk-0-10-gns.png | ||
863 | %{_infodir}/images/gnunet-gtk-0-10-identity.png | ||
864 | %{_infodir}/images/gnunet-gtk-0-10-search-selected.png | ||
865 | %{_infodir}/images/gnunet-gtk-0-10-traffic.png | ||
866 | %{_infodir}/images/gnunet-namestore-gtk-phone.png | ||
867 | %{_infodir}/images/gnunet-namestore-gtk-vpn.png | ||
868 | %{_infodir}/images/gnunet-setup-exit.png | ||
869 | %{_infodir}/images/gnunet-tutorial-service.png | ||
870 | %{_infodir}/images/gnunet-tutorial-system.png | ||
871 | %{_infodir}/images/iceweasel-preferences.png | ||
872 | %{_infodir}/images/iceweasel-proxy.png | ||
873 | %{_infodir}/images/lego_stack.svg.gz | ||
874 | %{_infodir}/images/service_lego_block.png | ||
875 | %{_infodir}/images/service_lego_block.svg.gz | ||
876 | %{_infodir}/images/service_stack.png | ||
877 | %{_infodir}/images/structure.dot.gz | ||
878 | %{_datadir}/locale/de/LC_MESSAGES/gnunet.mo | ||
879 | %{_datadir}/locale/es/LC_MESSAGES/gnunet.mo | ||
880 | %{_datadir}/locale/fr/LC_MESSAGES/gnunet.mo | ||
881 | %{_datadir}/locale/it/LC_MESSAGES/gnunet.mo | ||
882 | %{_datadir}/locale/sv/LC_MESSAGES/gnunet.mo | ||
883 | %{_datadir}/locale/vi/LC_MESSAGES/gnunet.mo | ||
884 | %{_datadir}/locale/zh_CN/LC_MESSAGES/gnunet.mo | ||
885 | %{_mandir}/man1/gnunet-arm.1.gz | ||
886 | %{_mandir}/man1/gnunet-ats.1.gz | ||
887 | %{_mandir}/man1/gnunet-auto-share.1.gz | ||
888 | %{_mandir}/man1/gnunet-bcd.1.gz | ||
889 | %{_mandir}/man1/gnunet-cadet.1.gz | ||
890 | %{_mandir}/man1/gnunet-config.1.gz | ||
891 | %{_mandir}/man1/gnunet-conversation-test.1.gz | ||
892 | %{_mandir}/man1/gnunet-conversation.1.gz | ||
893 | %{_mandir}/man1/gnunet-core.1.gz | ||
894 | %{_mandir}/man1/gnunet-datastore.1.gz | ||
895 | %{_mandir}/man1/gnunet-directory.1.gz | ||
896 | %{_mandir}/man1/gnunet-dns2gns.1.gz | ||
897 | %{_mandir}/man1/gnunet-download.1.gz | ||
898 | %{_mandir}/man1/gnunet-ecc.1.gz | ||
899 | %{_mandir}/man1/gnunet-fs.1.gz | ||
900 | %{_mandir}/man1/gnunet-gns-proxy-setup-ca.1.gz | ||
901 | %{_mandir}/man1/gnunet-gns-proxy.1.gz | ||
902 | %{_mandir}/man1/gnunet-gns.1.gz | ||
903 | %{_mandir}/man1/gnunet-identity.1.gz | ||
904 | %{_mandir}/man1/gnunet-namecache.1.gz | ||
905 | %{_mandir}/man1/gnunet-namestore-fcfsd.1.gz | ||
906 | %{_mandir}/man1/gnunet-namestore.1.gz | ||
907 | %{_mandir}/man1/gnunet-nat-auto.1.gz | ||
908 | %{_mandir}/man1/gnunet-nat-server.1.gz | ||
909 | %{_mandir}/man1/gnunet-nat.1.gz | ||
910 | %{_mandir}/man1/gnunet-nse.1.gz | ||
911 | %{_mandir}/man1/gnunet-peerinfo.1.gz | ||
912 | %{_mandir}/man1/gnunet-publish.1.gz | ||
913 | %{_mandir}/man1/gnunet-qr.1.gz | ||
914 | %{_mandir}/man1/gnunet-reclaim.1.gz | ||
915 | %{_mandir}/man1/gnunet-resolver.1.gz | ||
916 | %{_mandir}/man1/gnunet-revocation.1.gz | ||
917 | %{_mandir}/man1/gnunet-scalarproduct.1.gz | ||
918 | %{_mandir}/man1/gnunet-scrypt.1.gz | ||
919 | %{_mandir}/man1/gnunet-search.1.gz | ||
920 | %{_mandir}/man1/gnunet-statistics.1.gz | ||
921 | %{_mandir}/man1/gnunet-testbed-profiler.1.gz | ||
922 | %{_mandir}/man1/gnunet-testing-run-service.1.gz | ||
923 | %{_mandir}/man1/gnunet-timeout.1.gz | ||
924 | %{_mandir}/man1/gnunet-transport-certificate-creation.1.gz | ||
925 | %{_mandir}/man1/gnunet-transport.1.gz | ||
926 | %{_mandir}/man1/gnunet-unindex.1.gz | ||
927 | %{_mandir}/man1/gnunet-uri.1.gz | ||
928 | %{_mandir}/man1/gnunet-vpn.1.gz | ||
836 | %{_mandir}/man1/gnunet-zoneimport.1.gz | 929 | %{_mandir}/man1/gnunet-zoneimport.1.gz |
837 | %{_mandir}/man5/gnunet.conf.5.gz | 930 | %{_mandir}/man5/gnunet.conf.5.gz |
838 | 931 | ||