[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-extras-commits
Subject:    axeld pushed to compton (master). "Removed post and postun scriptlets"
From:       notifications () fedoraproject ! org
Date:       2018-03-31 18:37:46
Message-ID: 20180331183746.89520608752E () bastion01 ! phx2 ! fedoraproject ! org
[Download RAW message or body]

From db9515dcaad646f1b9708adc5a304dbcae184bbc Mon Sep 17 00:00:00 2001
From: Abhiram K <4kuchibh@gmail.com>
Date: Mar 31 2018 18:37:35 +0000
Subject: Removed post and postun scriptlets


---

diff --git a/.gitignore b/.gitignore
index 61c1ada..f51ae80 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
 /chjj-compton-d52f7a0.tar.gz
 /chjj-compton-c7ca345.tar.gz
 /chjj-compton-g75aec17.tar.gz
+/compton.spec
+/compton-0.1_beta3.tar.gz
+/compton.png
diff --git a/compton.spec b/compton.spec
index c4ce974..93bfadd 100644
--- a/compton.spec
+++ b/compton.spec
@@ -1,78 +1,73 @@
-Name:           compton
-Version:        0
-Release:        0.3.20121218g75aec17%{?dist}
-Summary:        Compositor for X
-
-License:        MIT
-URL:            https://github.com/chjj/%{name}
-
-# The source for this package was pulled from upstream's vcs.  Use the
-# following command to generate the tarball:
-# wget -O chjj-compton-g75aec17.tar.gz --no-check-certificate --content-disposition \
                http://github.com/chjj/compton/tarball/75aec17
-
-Source0:        chjj-compton-g75aec17.tar.gz
-
-BuildRequires:  asciidoc
-BuildRequires:	libconfig-devel
-BuildRequires:  libdrm-devel
-BuildRequires:  libGL-devel
-BuildRequires:	libXrandr-devel
-BuildRequires:	libXdamage-devel
-BuildRequires:	libXcomposite-devel
-BuildRequires:	pcre-devel
-BuildRequires:	pkgconfig
-
-Requires:       xorg-x11-utils
+%global ver 0.1
+%global prever beta3
+
+Name:		compton
+Version:	%{ver}
+Release:	0.1%{?prever:.%{prever}}%{?dist}
+Summary:	A compositor for X11
+License:	MIT
+URL:		https://github.com/AxelSilverdew/compton
+Source0: https://github.com/AxelSilverdew/compton/archive/v%{version}%{?prever:_%{prever}}.tar.gz#/%{name}-%{version}%{?prever:_%{prever}}.tar.gz
 +Source2:	https://raw.githubusercontent.com/AxelSilverdew/compton/master/media/icons/48x48/compton.png
 +
+BuildRequires : gcc
+BuildRequires : pkgconfig(x11)
+BuildRequires : pkgconfig(xcomposite)
+BuildRequires : pkgconfig(xfixes)
+BuildRequires : pkgconfig(xdamage)
+BuildRequires : pkgconfig(xrender)
+BuildRequires : pkgconfig(xext)
+BuildRequires : pkgconfig(xrandr)
+BuildRequires : pkgconfig(xinerama)
+BuildRequires : pkgconfig(libconfig) >= 1.4
+BuildRequires : pcre-devel
+BuildRequires : pkgconfig(libdrm)
+BuildRequires : mesa-libGL-devel
+BuildRequires : pkgconfig(dbus-1)
+BuildRequires : asciidoc
+BuildRequires : desktop-file-utils
+Requires : xorg-x11-utils
+Requires : hicolor-icon-theme
 
 %description
 Compton is a compositor for X, and a fork of xcompmgr-dana.
 
 %prep
-%setup -q -n chjj-compton-75aec17
-
+%autosetup -n %{name}-%{version}%{?prever:_%{prever}}
 
 %build
-CFLAGS="%{optflags}" make %{?_smp_mflags}
-make docs
+# Export the COMPTON_VERSION variable (you may also pass it to make directly)
+export COMPTON_VERSION=%{version}-%{release}
+export CFLAGS="$RPM_OPT_FLAGS"
+%make_build
+%make_build docs
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+%make_install
+mkdir -p %{buildroot}/%{_datadir}/icons/hicolor/48x48/apps
+install -pm 644 %{SOURCE2} %{buildroot}/%{_datadir}/icons/hicolor/48x48/apps/
 
+%check
+desktop-file-validate %{buildroot}/%{_datadir}/applications/compton.desktop
 
 %files
-%doc LICENSE README.md
-%{_bindir}/%{name}
-%{_bindir}/%{name}-trans
-%{_mandir}/man1/%{name}.1.*
-%{_mandir}/man1/%{name}-trans.1.*
+%doc README.md
+%license LICENSE
+%{_bindir}/compton
+%{_bindir}/compton-trans
+%{_mandir}/man1/compton.1*
+%{_mandir}/man1/compton-trans.1*
+%{_datadir}/applications/*.desktop
+%{_datadir}/icons/hicolor/*/apps/compton.*
 
 
-%changelog
-* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - \
                0-0.3.20121218g75aec17
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
-
-
-* Sun Oct 07 2012 Mario Blättermann <mariobl@fedoraproject.org> - \
                0-0.2.20121218g75aec17
-- New Git snapshot
-- Changed license to MIT, according to the developer's declaration
-- Add "make" call to produce newer manpages
-- Some BR cleanup
-
-* Sun Oct 07 2012 Mario Blättermann <mariobl@fedoraproject.org> - \
                0.1.20121007gitc7ca345
-- New Git snapshot
-- settrans has been renamed to compton-trans
-
-* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - \
                0-0.2.20120603gitd52f7a0
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
+%changelog
+* Tue Feb  9 2018 AxelSilverdew <axeld@fedoraproject.org>
+- Removed post and postun scriptlets
 
-* Tue Jul 03 2012 Mario Blättermann <mariobl@fedoraproject.org> - \
                0.1.20120603gitd52f7a0
-- Removed gz extension from the manpage
-- Added optflags macro to fill the debug package with real content
-- Use version number 0 because there wasn't any release yet
-- Added runtime requirement for settrans
-- Changed license to BSD 
+* Tue Jan  9 2018 AxelSilverdew <axeld@fedoraproject.org>
+- Made some edits to fit Fedora packaging guidelines better
 
-* Thu Jun 28 2012 Mario Blättermann <mariobl@fedoraproject.org> - \
                0.1-20120603gitd52f7a0
-- Initial package
+* Sun Jan  7 2018 AxelSilverdew <axeld@fedoraproject.org>
+- Initial Package Spec
diff --git a/sources b/sources
index 9579e6d..cb86df7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9d6f1cb4e694f0ab6c53bf184f59998d  chjj-compton-g75aec17.tar.gz
+SHA512 (compton-0.1_beta3.tar.gz) = \
cee6f7f3dbe79531c7e1dd23166c413f29ef50b02c7121bfeb1dd0b474fef743f4a7f3624a85f2a3ba3017c89d0e700accab2c6257b347f7e581ce668c6f0365



	https://src.fedoraproject.org/rpms/compton/c/db9515dcaad646f1b9708adc5a304dbcae184bbc?branch=master
 _______________________________________________
scm-commits mailing list -- scm-commits@lists.fedoraproject.org
To unsubscribe send an email to scm-commits-leave@lists.fedoraproject.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic