Comments (10)
Can you tell me what's the different? I don't know much about rpm specs.
from grive.
- Not needed some BuildRequires, because them installed as dependencies for other:
BuildRequires:libstdc++-devel
BuildRequires:json-c-devel
BuildRequires:openssl-devel
BuildRequires:expat-devel
BuildRequires:cppunit
BuildRequires:libcurl-devel
But needed
BuildRequires: boost-devel
BuildRequires: cmake
- Requires not needed at all. Them maked automatically by rpmbuild.
- Build section better use macros:
%build
%cmake .
make %{?_smp_mflags} - Postinstall ldconfig must be executed:
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
- In section %files all standart path must be macros. It needed for i686 and x86_64 builds because them use different lib path /usr/lib/ and /usr/lib64/ :
%files
%doc COPYING README
%{_bindir}/%{name}
%{_libdir}/libgrive.so.* - All headers and devel files must be in separate subpackage grive-devel:
%files devel
%{_includedir}/%{name}*
%{_libdir}/libgrive.so
Thats all. I think this is enough.
from grive.
OK. I will merge it.
On Jun 5, 2012 1:08 PM, "Vasiliy Glazov" <
[email protected]>
wrote:
- Not needed some BuildRequires, because them installed as dependencies
for other:
BuildRequires:libstdc++-devel
BuildRequires:json-c-devel
BuildRequires:openssl-devel
BuildRequires:expat-devel
BuildRequires:cppunit
BuildRequires:libcurl-develBut needed
BuildRequires: boost-devel
BuildRequires: cmake
- Requires not needed at all. Them maked automatically by rpmbuild.
- Build section better use macros:
%build
%cmake .
make %{?_smp_mflags}- Postinstall ldconfig must be executed:
%post -p /sbin/ldconfig%postun -p /sbin/ldconfig
- In section %files all standart path must be macros. It needed for i686
and x86_64 builds because them use different lib path /usr/lib/ and
/usr/lib64/ :
%files
%doc COPYING README
%{_bindir}/%{name}
%{_libdir}/libgrive.so.*- All headers and devel files must be in separate subpackage grive-devel:
%files devel
%{_includedir}/%{name}*
%{_libdir}/libgrive.soThats all. I think this is enough.
Reply to this email directly or view it on GitHub:
https://github.com/match065/grive/issues/44#issuecomment-6117670
from grive.
Do we need to put the git commit SHA in the release string? Is it a standard practice in all fedora packages? I don't remember seeing an SHA in rpm filenames...
from grive.
http://fedoraproject.org/wiki/Packaging:NamingGuidelines#Snapshot_packages
It not nesessary, but may be:
For instance, if you create a snapshot from a git repository on January 2, 2011 with git hash 9e88d7e9efb1bcd5b41a408037bb7cfd47220a64, %{checkout} string could be any of the following:
20110102snap
20110102git
20110102git9e88d7e
from grive.
I am not interested in doing snapshot builds in RPM formats right now. I plan to only build RPMs for milestone releases only (e.g. v0.1.0). Can I use 0.1.0 as the release part in the RPM file?
Grateful if you can modify the spec file before I merge it.
from grive.
OK. I'll modify it.
from grive.
Thanks!
from grive.
Done
https://github.com/RussianFedora/grive/blob/master/grive.spec
from grive.
I will try to become a maintainer package in Fedora.
from grive.
Related Issues (20)
- cd ../google_drive/ HOT 2
- Compiling and installing in Debian (LinuxMint Debian Edition) HOT 1
- Grive deleted files when storage reached its maximum HOT 1
- Error when running grive -a HOT 1
- Automatic syncing HOT 1
- User Rate Limit Exceeded HOT 1
- Delete remote, local deleted. and destination folder HOT 1
- grive -s fails complaining of inability to connect to port 443 of google authentication server HOT 1
- Stuck at "Reading remote server file list" on first use HOT 3
- HTML files are not synced very well HOT 1
- Cant set bandwidth limit while uploading files HOT 1
- Issues with building in the readme: Unmet build dependencies: debhelper zlib1g-dev HOT 3
- How do i uninstall grive HOT 6
- Fix The Readme, it is confusing! HOT 1
- Dependency errors on Debian 9 (stretch) HOT 1
- .trash doesn't work is not same file system HOT 1
- Duplicated Files in Google Drive HOT 1
- Removing grive permissions to Google Drive HOT 1
- GRIVE NO LONGER MAINTAINED PLEASE USE GRIVE2 HOT 1
- Google has disable temporarily Grive session start HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grive.