Questions tagged [software-packaging]

In package management systems, which are commonly used with Linux-based operating systems, a package is a specific piece of software which the system can install and uninstall.

107 questions
23
votes
4 answers

What is the project directory structure for a standalone Java SE application?

What is the standard project directory structure of a standalone Java SE (Command Line based) application? src folder will contain all my .java files in properly organized packages. Other than that I have bin folder which will contain my .class…
HariShankar
  • 859
  • 1
  • 10
  • 21
19
votes
5 answers

what does the rpmbuild warning "File listed twice" ACTUALLY MEAN?

I need to specify common attributes for one of the major directories in the package, and special permission for some of it subdirs. e.g. %files %attr(-, myuser, mygroup) /opt/myapp %attr(750, myuser, mygroup) /opt/myapp/bin # no exec permission to…
davka
  • 13,974
  • 11
  • 61
  • 86
18
votes
3 answers

Define Version with script in RPM spec file

I have an RPM Spec file, building on rhel7 with rpmbuild, where I would like to define the Version with a script. I read here http://www.techrepublic.com/article/rpmproc-spec-file/ , That I can do this: %define version 1.2 Version: %{version} And…
Jimmie
  • 397
  • 2
  • 5
  • 20
11
votes
1 answer

Can I ignore symlinks in setuptools MANIFEST.in?

When creating a source distribution using python's setuptools (python setup.py sdist), I am using a MANIFEST.in file containing the line: recursive-include mypackage because I want to include some non-module files inside the mypackage directory.…
foobarbecue
  • 6,780
  • 4
  • 28
  • 54
10
votes
1 answer

How to static linking to glibc in cmake

I'm trying to build a package from Fedora that can run on a RedHat 6 machine. So I need to build and static linking with some library that does not exist in RedHat machine. I found that I can you -static-libgcc or -static-libstdc++ to link with…
Phạm Văn Thông
  • 743
  • 2
  • 7
  • 21
7
votes
4 answers

What are the best practices for creating Python Distributions(eggs) on(and for) Multiple Operating Systems

Ours is a python shop. We have different python packages developed inhouse and will be deployed onto customers' environments(machines). This is how our development and release cycle happens. Once developers complete "testing" of a package, a…
Nanda Kishore
  • 2,789
  • 5
  • 38
  • 61
7
votes
1 answer

Autoconf subdirectories with subpackages depending on each other?

I've got a large project on my hand (master) that is split into several components (liba, b, c, d) to ease building and maintenance. When building the whole package, all of the subcomponents must be built in sequence, and some of these packages…
thiton
  • 35,651
  • 4
  • 70
  • 100
7
votes
6 answers

Howto create software package in Unix/Linux?

How can we create a software package, so that after extracting our software tar ball user can do the typical steps? $ gunzip < mycode.tar.gz | tar xvf - $ ./configure $ make $ make install
neversaint
  • 60,904
  • 137
  • 310
  • 477
7
votes
0 answers

Install entire folder and files in it, RPM spec file

I have a spec file to build an rpm package, in my %install section I have this: %install install -m 700 foo/bar/filesToCopy/. $RPM_BUILD_ROOT/ The filesToCopy folder is a tree exactly how the package file tree should look like. It has all the sub…
Jimmie
  • 397
  • 2
  • 5
  • 20
7
votes
2 answers

Hide Node js application source code

I'm developing a private web application for a company and they ask me to use their server to host it. I would like to prevent them the access to the source code. How can i do that? Their server is running debian and they have the root access.. I…
radar155
  • 1,796
  • 2
  • 11
  • 28
7
votes
1 answer

How to prevent CMake from creating a symlink for shared libraries on install?

Is there a way to prevent CMake from creating a symlink for shared libraries like libfoo.so when you are using so-versioning (which means you would have something like libfoo.so.0.8)? The reason why I am asking this is that I have a project where I…
languitar
  • 6,554
  • 2
  • 37
  • 62
6
votes
3 answers

How to edit a wheel package (.whl)?

I have a python wheel package, when extracted I find some python code, I'd like to edit this code and re-generate the same .whl package again and test it to see the edits .. How do I do that?
Kareem
  • 259
  • 1
  • 3
  • 13
6
votes
3 answers

How can I convert a package to an exe using pyinstaller?

I've got an open source python command line program that runs on Python 2.7, Python3+, and is cross platform. I'm trying to package it up into an executable for my windows users more easily. The source for this package is up on Github here:…
rdegges
  • 32,786
  • 20
  • 85
  • 109
6
votes
0 answers

SSL: CERTIFICATE_VERIFY_FAILED when registering in pypitest

I've followed Peter Down's instruction on pushing a package to PyPI on http://peterdowns.com/posts/first-time-with-pypi.html I have an account on PyPI Live and PyPI Test, I could log-in and the accounts were verified through the email. But when I…
alvas
  • 115,346
  • 109
  • 446
  • 738
6
votes
1 answer

Debian packaging: deploying files to the user home directory

I use Debhelper to create Debian packages. To deploy files and directories, I use the debian/install and debian/dirs files. Now I would like my package to deploy the default user configuration file to $HOME/.mypackagerc (just like .bashrc and…
nicoulaj
  • 3,463
  • 4
  • 27
  • 32
1
2 3 4 5 6 7 8