-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What about a .rpm package? #41
Comments
I don't have access to redhat/fedora/centos system, so I include a zip file that contains:
If you want to adapt them into your system, feel free to unzip the file above and work your way through. Note that the alienated rpm package maybe (more likely), will not work on fedora/redhat or another redhat based distro, because the dependencies name maybe different. If you got a working rpm package, please upload them (as a zip) to this issue. Build dependencies?Based on debian/control
Dependencies to run?Based on debian/control
Change the dependencies name and version that suits your platform. Some of them might not be needed, or not available. |
Okay, thanks for your help, I'll try when I'll get my Fedora installation to work again 😄 |
I had to install a couple of things, but I still have a couple of run-time errors in looks like. I'll swing back when I get them resolved.
|
fpm may be helpful for generating {RPM, pacman,} packages: The fpm CLI docs are here: |
|
Depedencies name for distro that is using rpm and yum package managerCentOS 7 dependencies name
|
Hi, I built a manual prototype RPM template for CentOS 7. It was built on Ubuntu 16.04 using rpm & rpmbuild tool. You can build it from my source template and change the When you are done building, the rpm package can be found in Hope it helps! fluxgui.specSummary: Bluelight filter
Name: fluxgui
Version: 1.1.11
Release: 1%{?dist}
Source0: fluxgui-1.1.11.tar.gz
Buildarch: i386
Requires: pexpect, python-appindicator, libXxf86vm, gnome-python2-gconf, pygtk2, pygtk2-libglade, python2-pyxdg
License: MIT
Url: https://github.com/xflux-gui/xflux-gui
Group: Utilities
%description
f.lux indicator applet is an indicator applet to control xflux, an
application that makes the color of your computers display adapt to the time
of day, warm at nights and like sunlight during the day
0
%prep
%setup -q -c
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/local/bin
# dynamic python lib path (doesn't work with %dir)
#PYTHON_FLUXGUI_LIB=$(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib()')
mkdir -p $RPM_BUILD_ROOT/usr/lib/python2.7/dist-packages/fluxgui
install -m 0755 fluxgui/fluxgui $RPM_BUILD_ROOT/usr/local/bin/fluxgui
cd fluxgui
python download-xflux.py
cd ..
install -m 0755 fluxgui/xflux $RPM_BUILD_ROOT/usr/local/bin/xflux
mv fluxgui/src/fluxgui $RPM_BUILD_ROOT/usr/lib/python2.7/dist-packages
%clean
rm -rf $RPM_BUILD_ROOT/usr/local/bin/fluxgui
rm -rf $RPM_BUILD_ROOT/usr/local/bin/xflux
rm -rf $RPM_BUILD_ROOT/usr/lib/python2.7/dist-packages/fluxgui
%files
%defattr(-,root,root)
/usr/local/bin/fluxgui
/usr/local/bin/xflux
%dir
/usr/lib/python2.7/dist-packages/fluxgui
Update: Finally uploaded the i386 premade rpm package! |
Thanks! You can build rpms for a different OS (eg CentOS 7) with Docker.
|
Hi! I'm a Fedora user who used your software for years on Windows, so first, thanks a lot for it!
I saw that there was a .deb package for Debian/Ubuntu users but I'd love to install your software on my machine.
So I was just wondering if it would be possible for you to create a .rpm package for non-Debian-based-distribution Linux users? 😄
Thanks in advance (I'm not really an advanced linux user so I have absolutely no idea of how to do it myself...). 👍
The text was updated successfully, but these errors were encountered: