Jussi Pakkanen
e44229b9c2
Removed no longer used attribute from rpm generator. Closes #502 .
9 years ago
Jussi Pakkanen
6841672eb5
Import fix. Closes #498 .
9 years ago
Jussi Pakkanen
f7e1d256ad
Fix rpm imports.
9 years ago
Jussi Pakkanen
23b98cd6e6
Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir.
9 years ago
Jussi Pakkanen
61cb4ae9ca
Can compile full test suite.
9 years ago
Jussi Pakkanen
8b1039fa30
Organise files into a module structure.
9 years ago
Igor Gnatenko
dbc5df06ef
modules/rpm: add compiler deps for gcc, gcc-c++
...
As per revised guidelines we need to specify gcc and gcc-c++ also.
Reference: https://fedoraproject.org/w/index.php?title=Packaging%3AGuidelines&diff=413629&oldid=409506
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
db2b7601c8
modules/rpm: workaround when ext_prog not found locally
...
Traceback (most recent call last):
File "../../../meson.py", line 184, in <module>
app.generate()
File "../../../meson.py", line 130, in generate
intr.run()
File "/home/brain/git/upstream/meson/interpreter.py", line 828, in run
self.evaluate_codeblock(self.ast)
File "/home/brain/git/upstream/meson/interpreter.py", line 850, in
evaluate_codeblock
raise e
File "/home/brain/git/upstream/meson/interpreter.py", line 844, in
evaluate_codeblock
self.evaluate_statement(cur)
File "/home/brain/git/upstream/meson/interpreter.py", line 897, in
evaluate_statement
return self.method_call(cur)
File "/home/brain/git/upstream/meson/interpreter.py", line 1620, in
method_call
return obj.method_call(method_name, args, kwargs)
File "/home/brain/git/upstream/meson/interpreter.py", line 625, in
method_call
value = fn(state, args, kwargs)
File "/home/brain/git/upstream/meson/modules/rpm.py", line 98, in
generate_spec_template
fn.write('BuildRequires: %s\n' % ' '.join(prog.fullpath))
TypeError: sequence item 0: expected str instance, NoneType found
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
7462bc9662
modules/rpm: trivial style fixes
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
4b33a88eeb
modules/rpm: handle Gir and Typelib from GNOME
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Jussi Pakkanen
2c47c8c5e7
Update rpm spec message.
10 years ago
Igor Gnatenko
b71d248b28
modules/rpm: handle pkgconfig files
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
d7bb431e5d
modules/rpm: use meson RPM macros
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
6cc8881a52
modules/rpm: use plain set up of compiler and linker flags
...
to avoid using empty configure file
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
5c6bc7ad5e
modules/rpm: use set() instead of list() always
...
to ignore dupes
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
8bf4415dbd
modules/rpm: handle mans
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
51a6838048
modules/rpm: own directories for subdirs in headers
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
a7cd29c74b
modules/rpm: implement handling includedirs
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
f4cb118190
modules/rpm: simplify isinstance check to oneline
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
9d9f90f6ed
modules/rpm: add fullstop in description for devel subpkg
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
53f0a1ba07
modules/rpm: generate required basic RPM tags
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
84e2776d98
modules/rpm: fix ident
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
3e10458e19
modules/rpm: update doc about module
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
953edd9fc9
modules/rpm: add compilers to BuildRequires automatically
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
b8b77e7ccc
modules/rpm: improve message about removing static libs
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
8a58acd0ae
modules/rpm: add description/summary for devel subpkg
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
0a43406059
modules/rpm: enable tests in check section
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
11d95bd5ab
modules/rpm: pass RPM CFLAGS and others
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
0718d36931
modules/rpm: use rpmbuilddir instead of build dir
...
because some of projects using `build` directory for internal use
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
2d7e5b89f4
modules/rpm: create spec in build_dir
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
6e7c921d15
modules/rpm: rename to generate_spec_template
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
d133fc3fa2
modules/rpm: ignore static libs
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
be7bea6b08
modules/rpm: add changelog
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
0a7bc1ffb7
modules/rpm: fix typo in install macros
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
5fa8cac6b3
modules/rpm: add support for devel subpkg
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
268560f490
add RPM module ( Closes #49 )
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago